summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-18 14:44:39 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-18 14:44:39 +0000
commit4501b6c4e1efd31d7e275320ff693d5f22d70e62 (patch)
treee61d35e63810ca7ffaabcc9010ab9d0cc63517f8 /syslogd.h
parent4217aa53f30fd4e7d9487c4cf74947d17bb57f89 (diff)
downloadrsyslog-4501b6c4e1efd31d7e275320ff693d5f22d70e62.tar.gz
rsyslog-4501b6c4e1efd31d7e275320ff693d5f22d70e62.tar.xz
rsyslog-4501b6c4e1efd31d7e275320ff693d5f22d70e62.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 fe58b9b9..b94f6970 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -26,6 +26,8 @@
#include "template.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