summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-07 09:37:43 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-07 09:37:43 +0000
commit02ca960691b02f75019a46ba778bb10cf0bdd2e6 (patch)
tree157af95ae47063559675f5959971419a90860843 /omfwd.c
parentacb7dae3ae782dae451f2f7a2322138ee495244a (diff)
downloadrsyslog-02ca960691b02f75019a46ba778bb10cf0bdd2e6.tar.gz
rsyslog-02ca960691b02f75019a46ba778bb10cf0bdd2e6.tar.xz
rsyslog-02ca960691b02f75019a46ba778bb10cf0bdd2e6.zip
applied patch from Michel Samia to fix compilation when the pthreads
feature is disabled
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"