diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-01-24 16:52:01 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-01-24 16:52:01 +0000 |
commit | 4c0899659502d1ab14f30b02ec78261728caf9c8 (patch) | |
tree | 0b32f22aaeff87ccd2d026fd38d107f7e686a17e /src | |
parent | 0d28287ca56d1545b8e2fdeab6616a674e633236 (diff) |
TFO: Support compilation on Linus platforms which define TCP_FASTOPEN but not MSG_FASTOPEN
Diffstat (limited to 'src')
-rw-r--r-- | src/OS/os.h-Linux | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux index 510865c66..cc1cef99b 100644 --- a/src/OS/os.h-Linux +++ b/src/OS/os.h-Linux @@ -69,6 +69,8 @@ then change the 0 to 1 in the next block. */ # define EXIM_HAVE_OPENAT #endif +#include <netinet/tcp.h> /* for TCP_FASTOPEN */ +#include <sys/socket.h> /* for MSG_FASTOPEN */ #if defined(TCP_FASTOPEN) && !defined(MSG_FASTOPEN) # define MSG_FASTOPEN 0x20000000 #endif |