summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/omfwd.c b/omfwd.c
index c1172b0c..33d4af8c 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -44,6 +44,8 @@
#include <unistd.h>
#ifdef USE_PTHREADS
#include <pthread.h>
+#else
+#include <fcntl.h>
#endif
#include "rsyslog.h"
#include "syslogd.h"