git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DNS: explicit alloc/free of workspace
[exim.git]
/
src
/
src
/
exim.h
diff --git
a/src/src/exim.h
b/src/src/exim.h
index 6669e809e3e631635e1e1eeb76d707a17b9faa95..bb8e4f6e24f8d7b3df4d0fc652c182f40f96357c 100644
(file)
--- a/
src/src/exim.h
+++ b/
src/src/exim.h
@@
-90,6
+90,9
@@
making unique names. */
#ifdef EXIM_HAVE_INOTIFY
# include <sys/inotify.h>
#endif
#ifdef EXIM_HAVE_INOTIFY
# include <sys/inotify.h>
#endif
+#ifdef EXIM_HAVE_KEVENT
+# include <sys/event.h>
+#endif
/* C99 integer types, figure out how to undo this if needed for older systems */
/* C99 integer types, figure out how to undo this if needed for older systems */
@@
-603,5
+606,13
@@
default to EDQUOT if it exists, otherwise ENOSPC. */
# define EXIM_GROUPLIST_SIZE NGROUPS_MAX
#endif
# 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 */
#endif
/* End of exim.h */