X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/989ab7c83d1a69fe6ce454cfe51572c62933a5a3..ee3c2fea18d0c940c2256c6bf041f546c703c375:/src/src/exim.h diff --git a/src/src/exim.h b/src/src/exim.h index 1ddba187b..bb8e4f6e2 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -87,6 +87,13 @@ making unique names. */ # include #endif +#ifdef EXIM_HAVE_INOTIFY +# include +#endif +#ifdef EXIM_HAVE_KEVENT +# include +#endif + /* C99 integer types, figure out how to undo this if needed for older systems */ #include @@ -599,5 +606,13 @@ default to EDQUOT if it exists, otherwise ENOSPC. */ # define EXIM_GROUPLIST_SIZE NGROUPS_MAX #endif +/* Linux has TCP_CORK, FreeBSD has TCP_NOPUSH; they do pretty much the same */ + +#ifdef TCP_CORK +# define EXIM_TCP_CORK TCP_CORK +#elif defined(TCP_NOPUSH) +# define EXIM_TCP_CORK TCP_NOPUSH +#endif + #endif /* End of exim.h */