From 3bbf251efa501af7cc452031a4c6d824158b64a8 Mon Sep 17 00:00:00 2001 From: nia Date: Mon, 6 May 2019 15:53:22 +0100 Subject: Re-order the includes to fix C++03 builds. inspircd.h defines __STDC_LIMIT_MACROS to ensure that C99 int type limits are defined, however, if is included implicitly before inspircd.h, the build fails due to the C99 integer type limits being undefined. --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 952c115d2..67ebc3439 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -24,9 +24,9 @@ */ -#include #include "inspircd.h" #include "exitcodes.h" +#include #ifndef _WIN32 #include -- cgit v1.3.1-10-gc9f91