summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 9b14598e4..2aa9aa326 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -25,6 +25,10 @@
#pragma once
+// If the system has a pre-C11 stdint header this must be defined in
+// order to use the numeric limit macros.
+#define __STDC_LIMIT_MACROS
+
#include <cfloat>
#include <climits>
#include <cmath>