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 "ClientInit.hxx"
|
||||
#include "Init.hxx"
|
||||
#include "Callback.hxx"
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_UPNP_CLIENT_INIT_HXX
|
||||
#define MPD_UPNP_CLIENT_INIT_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <upnp.h>
|
||||
|
||||
UpnpClient_Handle
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "ContentDirectoryService.hxx"
|
||||
#include "UniqueIxml.hxx"
|
||||
#include "Device.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Device.hxx"
|
||||
#include "Util.hxx"
|
||||
#include "lib/expat/ExpatParser.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Discovery.hxx"
|
||||
#include "ContentDirectoryService.hxx"
|
||||
#include "Log.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Init.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_UPNP_INIT_HXX
|
||||
#define MPD_UPNP_INIT_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
void
|
||||
UpnpGlobalInit();
|
||||
|
||||
|
Reference in New Issue
Block a user