TFO: Support compilation on systems which define TCP_FASTOPEN but not MSG_FASTOPEN
[users/heiko/exim.git] / src / OS / os.h-Linux
index 6400e798e24cfd53b2333cdc5b239ca278e442ce..510865c66044c8eaa57db396e5486af9c88e6b8a 100644 (file)
@@ -69,5 +69,9 @@ then change the 0 to 1 in the next block. */
 # define EXIM_HAVE_OPENAT
 #endif
 
 # define EXIM_HAVE_OPENAT
 #endif
 
+#if defined(TCP_FASTOPEN) && !defined(MSG_FASTOPEN)
+# define MSG_FASTOPEN 0x20000000
+#endif
+
 
 /* End */
 
 /* End */