aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/unix-std.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-07 08:26:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-07 08:26:32 +0100
commit8bcdcfc6c8e93dda7e5eeb2122bf2ed5772f00a3 (patch)
tree918a3479201b873eb8cfd5c8f9c8728cda8885ba /src/libutil/unix-std.h
parentbe8b130d14166145787f4e8e9b194b98c98c873d (diff)
downloadrspamd-8bcdcfc6c8e93dda7e5eeb2122bf2ed5772f00a3.tar.gz
rspamd-8bcdcfc6c8e93dda7e5eeb2122bf2ed5772f00a3.zip
[Feature] Set TCP_NODELAY for milter sockets
Issue: #1790
Diffstat (limited to 'src/libutil/unix-std.h')
-rw-r--r--src/libutil/unix-std.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libutil/unix-std.h b/src/libutil/unix-std.h
index b1c8b6a02..218a35ffa 100644
--- a/src/libutil/unix-std.h
+++ b/src/libutil/unix-std.h
@@ -77,4 +77,8 @@
#include <libgen.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
#endif