X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/9c19b270ead379003ece51fb49b83e7ea8b2d25e..0a27a8228d3ccf0730f54710781abb1185ed26b5:/src/OS/os.h-Linux diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux index 05c153e2c..cc1cef99b 100644 --- a/src/OS/os.h-Linux +++ b/src/OS/os.h-Linux @@ -65,5 +65,15 @@ then change the 0 to 1 in the next block. */ # define LLONG_MAX LONG_LONG_MAX #endif +#if _POSIX_C_SOURCE >= 200809L || _ATFILE_SOUCE +# define EXIM_HAVE_OPENAT +#endif + +#include /* for TCP_FASTOPEN */ +#include /* for MSG_FASTOPEN */ +#if defined(TCP_FASTOPEN) && !defined(MSG_FASTOPEN) +# define MSG_FASTOPEN 0x20000000 +#endif + /* End */