commit 3bbf251efa501af7cc452031a4c6d824158b64a8
parent daf3be301d0181d14d1310b3ab5f79c8a85dfb46
Author: nia <nia@netbsd.org>
Date: Mon, 6 May 2019 15:53:22 +0100
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:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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>
diff --git 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)
{