summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authornia <nia@netbsd.org>2019-05-06 15:53:22 +0100
committerPeter Powell <petpow@saberuk.com>2019-05-06 16:47:25 +0100
commit3bbf251efa501af7cc452031a4c6d824158b64a8 (patch)
treec7b70f7ae2e007814295134aea77a4dd7a89227e /src/modules.cpp
parentdaf3be301d0181d14d1310b3ab5f79c8a85dfb46 (diff)
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 <stdint.h> is included implicitly before inspircd.h, the build fails due to the C99 integer type limits being undefined.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
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 <iostream>
#include "inspircd.h"
#include "exitcodes.h"
+#include <iostream>
#ifndef _WIN32
#include <dirent.h>