git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Shuffle proxy-protocol to wrap TLS-on-connect startup. Bug 2018
[users/heiko/exim.git]
/
src
/
OS
/
os.h-Linux
diff --git
a/src/OS/os.h-Linux
b/src/OS/os.h-Linux
index 6400e798e24cfd53b2333cdc5b239ca278e442ce..cc1cef99be849c10d487aef94e5a767f02d95b38 100644
(file)
--- a/
src/OS/os.h-Linux
+++ b/
src/OS/os.h-Linux
@@
-69,5
+69,11
@@
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
+
/* End */