summaryrefslogtreecommitdiffstats
path: root/tcpsyslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r--tcpsyslog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcpsyslog.c b/tcpsyslog.c
index e8a52c97..1c7d2301 100644
--- a/tcpsyslog.c
+++ b/tcpsyslog.c
@@ -38,6 +38,9 @@
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
+#if HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
#ifdef USE_PTHREADS
#include <pthread.h>
#endif