aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorGravatar nia2019-05-06 15:53:22 +0100
committerGravatar Peter Powell2019-05-06 16:47:25 +0100
commit3bbf251efa501af7cc452031a4c6d824158b64a8 (patch)
treec7b70f7ae2e007814295134aea77a4dd7a89227e /src/server.cpp
parentUpdate the exemptchanops module section in modules.conf.example with missing ... (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/server.cpp')
-rw-r--r--src/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index ff8f6211f..f2abfe0e2 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -20,9 +20,9 @@
*/
-#include <signal.h>
-#include "exitcodes.h"
#include "inspircd.h"
+#include "exitcodes.h"
+#include <signal.h>
void InspIRCd::SignalHandler(int signal)
{