summaryrefslogtreecommitdiff
path: root/src/archive
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-11-19 12:49:45 +0100
committerMax Kellermann <max@musicpd.org>2018-11-19 16:33:49 +0100
commitce49d99c2f3265f2975b2cff583684bf191bbd93 (patch)
tree98fa09c94aa5d170fd3f553ac107ea2f0aa82bf4 /src/archive
parent2e450bbf959e7b72894c5037a2d46523556c8b72 (diff)
check.h: remove obsolete header
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, 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.
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/ArchiveLookup.cxx1
-rw-r--r--src/archive/ArchivePlugin.cxx1
-rw-r--r--src/archive/plugins/Bzip2ArchivePlugin.cxx1
-rw-r--r--src/archive/plugins/Iso9660ArchivePlugin.cxx1
-rw-r--r--src/archive/plugins/ZzipArchivePlugin.cxx1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/archive/ArchiveLookup.cxx b/src/archive/ArchiveLookup.cxx
index a4c97e5b2..705ac28f8 100644
--- a/src/archive/ArchiveLookup.cxx
+++ b/src/archive/ArchiveLookup.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h" /* must be first for large file support */
#include "ArchiveLookup.hxx"
#include "ArchiveDomain.hxx"
#include "Log.hxx"
diff --git a/src/archive/ArchivePlugin.cxx b/src/archive/ArchivePlugin.cxx
index 6c154c400..6b3cbcb79 100644
--- a/src/archive/ArchivePlugin.cxx
+++ b/src/archive/ArchivePlugin.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "ArchivePlugin.hxx"
#include "ArchiveFile.hxx"
#include "fs/Path.hxx"
diff --git a/src/archive/plugins/Bzip2ArchivePlugin.cxx b/src/archive/plugins/Bzip2ArchivePlugin.cxx
index df3dd3aa3..db0d013ff 100644
--- a/src/archive/plugins/Bzip2ArchivePlugin.cxx
+++ b/src/archive/plugins/Bzip2ArchivePlugin.cxx
@@ -21,7 +21,6 @@
* single bz2 archive handling (requires libbz2)
*/
-#include "config.h"
#include "Bzip2ArchivePlugin.hxx"
#include "../ArchivePlugin.hxx"
#include "../ArchiveFile.hxx"
diff --git a/src/archive/plugins/Iso9660ArchivePlugin.cxx b/src/archive/plugins/Iso9660ArchivePlugin.cxx
index 4e3dcbbab..a27230728 100644
--- a/src/archive/plugins/Iso9660ArchivePlugin.cxx
+++ b/src/archive/plugins/Iso9660ArchivePlugin.cxx
@@ -21,7 +21,6 @@
* iso archive handling (requires cdio, and iso9660)
*/
-#include "config.h"
#include "Iso9660ArchivePlugin.hxx"
#include "../ArchivePlugin.hxx"
#include "../ArchiveFile.hxx"
diff --git a/src/archive/plugins/ZzipArchivePlugin.cxx b/src/archive/plugins/ZzipArchivePlugin.cxx
index 10a360614..e238dd4ba 100644
--- a/src/archive/plugins/ZzipArchivePlugin.cxx
+++ b/src/archive/plugins/ZzipArchivePlugin.cxx
@@ -21,7 +21,6 @@
* zip archive handling (requires zziplib)
*/
-#include "config.h"
#include "ZzipArchivePlugin.hxx"
#include "../ArchivePlugin.hxx"
#include "../ArchiveFile.hxx"