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 "Base.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_NFS_BASE_HXX
|
||||
#define MPD_NFS_BASE_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
/**
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Blocking.hxx"
|
||||
#include "Connection.hxx"
|
||||
#include "event/Call.hxx"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_BLOCKING_NFS_CALLBACK_HXX
|
||||
#define MPD_BLOCKING_NFS_CALLBACK_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "Callback.hxx"
|
||||
#include "Lease.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_NFS_CALLBACK_HXX
|
||||
#define MPD_NFS_CALLBACK_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <exception>
|
||||
|
||||
/**
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Connection.hxx"
|
||||
#include "Error.hxx"
|
||||
#include "Lease.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "FileReader.hxx"
|
||||
#include "Glue.hxx"
|
||||
#include "Base.hxx"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_NFS_FILE_READER_HXX
|
||||
#define MPD_NFS_FILE_READER_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "Lease.hxx"
|
||||
#include "Callback.hxx"
|
||||
#include "event/DeferEvent.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Glue.hxx"
|
||||
#include "Manager.hxx"
|
||||
#include "event/Call.hxx"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_NFS_GLUE_HXX
|
||||
#define MPD_NFS_GLUE_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
class EventLoop;
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_NFS_LEASE_HXX
|
||||
#define MPD_NFS_LEASE_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <exception>
|
||||
|
||||
class NfsLease {
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Manager.hxx"
|
||||
#include "event/Loop.hxx"
|
||||
#include "Log.hxx"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_NFS_MANAGER_HXX
|
||||
#define MPD_NFS_MANAGER_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "Connection.hxx"
|
||||
#include "util/Compiler.h"
|
||||
#include "event/IdleMonitor.hxx"
|
||||
|
Reference in New Issue
Block a user