summaryrefslogtreecommitdiffstats
path: root/tools/ompipe.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-10-19 12:39:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-10-19 12:39:48 +0200
commit0a24b3afc093e16038da170458e2ecb68b363bdd (patch)
tree5100ee6753a221a079e332e52613845471bfc92f /tools/ompipe.c
parent7cdc7cbaa055c84b463d5fba4457036e249828a1 (diff)
downloadrsyslog-0a24b3afc093e16038da170458e2ecb68b363bdd.zip
rsyslog-0a24b3afc093e16038da170458e2ecb68b363bdd.tar.gz
rsyslog-0a24b3afc093e16038da170458e2ecb68b363bdd.tar.xz
fixing some compile problems on FreeBSD
Diffstat (limited to 'tools/ompipe.c')
-rw-r--r--tools/ompipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ompipe.c b/tools/ompipe.c
index 5fb9b27..541b655 100644
--- a/tools/ompipe.c
+++ b/tools/ompipe.c
@@ -39,6 +39,7 @@
#include <string.h>
#include <assert.h>
#include <errno.h>
+#include <unistd.h>
#include <sys/file.h>
#include "syslogd.h"