git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TFO: Support compilation on Linus platforms which define TCP_FASTOPEN but not MSG_FAS...
[users/jgh/exim.git]
/
src
/
OS
/
os.h-Linux
diff --git
a/src/OS/os.h-Linux
b/src/OS/os.h-Linux
index 510865c66044c8eaa57db396e5486af9c88e6b8a..cc1cef99be849c10d487aef94e5a767f02d95b38 100644
(file)
--- 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