From 6844ce1587f321abd7c8e001783ddc34ac24904d Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 6 May 2019 01:56:28 +0100 Subject: Fix building against older versions of glibc. --- include/inspircd.h | 4 ++++ 1 file changed, 4 insertions(+) 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 #include #include -- cgit v1.2.3