From ce49d99c2f3265f2975b2cff583684bf191bbd93 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Nov 2018 12:49:45 +0100 Subject: 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. --- src/fs/Charset.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/Charset.cxx') diff --git a/src/fs/Charset.cxx b/src/fs/Charset.cxx index 36d2872ed..cf3d134ba 100644 --- a/src/fs/Charset.cxx +++ b/src/fs/Charset.cxx @@ -17,12 +17,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Charset.hxx" #include "Domain.hxx" #include "Log.hxx" #include "lib/icu/Converter.hxx" #include "util/AllocatedString.hxx" +#include "config.h" #ifdef _WIN32 #include "lib/icu/Win32.hxx" -- cgit v1.2.3