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 "FlacIOHandle.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "FlacMetadataChain.hxx"
|
||||
#include "FlacMetadataIterator.hxx"
|
||||
#include "FlacIOHandle.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "FlacStreamMetadata.hxx"
|
||||
#include "FlacAudioFormat.hxx"
|
||||
#include "XiphTags.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "OggFind.hxx"
|
||||
#include "lib/xiph/OggSyncState.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_OGG_FIND_HXX
|
||||
#define MPD_OGG_FIND_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "input/Offset.hxx"
|
||||
|
||||
#include <ogg/ogg.h>
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "OggPacket.hxx"
|
||||
#include "OggSyncState.hxx"
|
||||
#include "OggStreamState.hxx"
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_OGG_PACKET_HXX
|
||||
#define MPD_OGG_PACKET_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
class OggSyncState;
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_OGG_PAGE_HXX
|
||||
#define MPD_OGG_PAGE_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_OGG_STREAM_STATE_HXX
|
||||
#define MPD_OGG_STREAM_STATE_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "OggSyncState.hxx"
|
||||
#include "fs/io/Reader.hxx"
|
||||
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_OGG_SYNC_STATE_HXX
|
||||
#define MPD_OGG_SYNC_STATE_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
#include <stddef.h>
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "OggVisitor.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_OGG_VISITOR_HXX
|
||||
#define MPD_OGG_VISITOR_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "OggSyncState.hxx"
|
||||
#include "OggStreamState.hxx"
|
||||
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_VORBIS_COMMENT_HXX
|
||||
#define MPD_VORBIS_COMMENT_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <vorbis/codec.h>
|
||||
|
||||
/**
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "VorbisComments.hxx"
|
||||
#include "XiphTags.hxx"
|
||||
#include "tag/Table.hxx"
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_VORBIS_COMMENTS_HXX
|
||||
#define MPD_VORBIS_COMMENTS_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
struct ReplayGainInfo;
|
||||
|
@@ -21,7 +21,7 @@
|
||||
* Flac and Opus which will be used in addition to the Tags in tag/TagNames.c
|
||||
* see https://www.xiph.org/vorbis/doc/v-comment.html for further Info
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include "XiphTags.hxx"
|
||||
|
||||
const struct tag_table xiph_tags[] = {
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_XIPH_TAGS_HXX
|
||||
#define MPD_XIPH_TAGS_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "tag/Table.hxx"
|
||||
|
||||
extern const struct tag_table xiph_tags[];
|
||||
|
Reference in New Issue
Block a user