diff options
author | Peter Powell <petpow@saberuk.com> | 2019-05-06 01:56:28 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-05-06 01:57:26 +0100 |
commit | 6844ce1587f321abd7c8e001783ddc34ac24904d (patch) | |
tree | 7818362962de329eea295e0ba4c3ce7a6f5a10bf /include | |
parent | e122a986a4261bf6ef0bc38af356e6cb2ea92a8c (diff) |
Fix building against older versions of glibc.
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 4 |
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> |