diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/OS/os.h-Linux | 6 | ||||
-rw-r--r-- | src/src/exim.h | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux index 5186ec89d..fe4eaa6c7 100644 --- a/src/OS/os.h-Linux +++ b/src/OS/os.h-Linux @@ -1,8 +1,8 @@ /* Exim: OS-specific C header file for Linux */ -/* Some weird variants may require invocation with C99 and features.h -inclusion to build, with the 64-bit arithmetic. Make compiler selection -their problem, but build anyway. */ +/* Some old systems we've received bug-reports for have a <limits.h> which +does not pull in <features.h>. Best to just pull it in now and have done +with the issue. */ #include <features.h> diff --git a/src/src/exim.h b/src/src/exim.h index 601dfed74..987aebf83 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -20,6 +20,11 @@ This call dates back at least as far as SUSv2. */ #define HAVE_SRANDOM +/* This is primarily for the Gnu C library; we define it before os.h so that +os.h has a chance to hurriedly undef it, Just In Case. */ + +#define _ISOC99_SOURCE 1 + /* First of all include the os-specific header, which might set things that are needed by any of the other headers, including system headers. */ |