summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-18 14:31:05 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-18 14:31:05 +0000
commitf3eefa2854823a0e4e526b68ffefac2066f32491 (patch)
treec1060e501453f68f40fcfe3960dcd74a4b903e12 /syslogd.h
parent779558133b0cfd348976dec1a01484496b469b6a (diff)
downloadrsyslog-f3eefa2854823a0e4e526b68ffefac2066f32491.tar.gz
rsyslog-f3eefa2854823a0e4e526b68ffefac2066f32491.tar.xz
rsyslog-f3eefa2854823a0e4e526b68ffefac2066f32491.zip
code cleanups thanks to Michael Biebl
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/syslogd.h b/syslogd.h
index 43d4f0ea..c1d765eb 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -24,6 +24,8 @@
#include "objomsr.h"
#ifdef USE_NETZIP
+#include <unistd.h>
+#include <zlib.h>
/* config param: minimum message size to try compression. The smaller
* the message, the less likely is any compression gain. We check for
* gain before we submit the message. But to do so we still need to