check.h: remove obsolete header
Since we switched from autotools to Meson in commit
94592c1406
, we don't need to include
`config.h` early to properly enable large file support. Meson passes
the required macros on the compiler command line instead of defining
them in `config.h`.
This means we can include `config.h` at any time, whenever we want to
check its macros, and there are no ordering constraints.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Block.hxx"
|
||||
#include "Parser.hxx"
|
||||
#include "Path.hxx"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_CONFIG_BLOCK_HXX
|
||||
#define MPD_CONFIG_BLOCK_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "Param.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Check.hxx"
|
||||
#include "Data.hxx"
|
||||
#include "Domain.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Data.hxx"
|
||||
#include "Parser.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "File.hxx"
|
||||
#include "Data.hxx"
|
||||
#include "Param.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Migrate.hxx"
|
||||
#include "Data.hxx"
|
||||
#include "Block.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Net.hxx"
|
||||
#include "event/ServerSocket.hxx"
|
||||
#include "Path.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Param.hxx"
|
||||
#include "Path.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_CONFIG_PARAM_HXX
|
||||
#define MPD_CONFIG_PARAM_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <string>
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Path.hxx"
|
||||
#include "Data.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
|
Reference in New Issue
Block a user