diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 07:50:55 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 07:50:55 +0000 |
commit | 229aa9e64424cf05fc2391ad2e7e2baefc37542f (patch) | |
tree | 0c0fed9887404c91c53652ae2fc3dc58b2abf551 /tcpsyslog.c | |
parent | 307be5a3f2004d4c30732ab7340152614412eaed (diff) | |
download | rsyslog-229aa9e64424cf05fc2391ad2e7e2baefc37542f.tar.gz rsyslog-229aa9e64424cf05fc2391ad2e7e2baefc37542f.tar.xz rsyslog-229aa9e64424cf05fc2391ad2e7e2baefc37542f.zip |
applied patch from Michel Samia to fix compilation when NOT compiled for
pthreads
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r-- | tcpsyslog.c | 3 |
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 |