diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-18 14:17:08 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-18 14:17:08 +0000 |
commit | 4217aa53f30fd4e7d9487c4cf74947d17bb57f89 (patch) | |
tree | 06668f60b7fbe661555c1bf1c0c0b1a594ca1dc2 | |
parent | 946d08ba18357278f3b802faa4ab17552ab25e2a (diff) | |
download | rsyslog-4217aa53f30fd4e7d9487c4cf74947d17bb57f89.tar.gz rsyslog-4217aa53f30fd4e7d9487c4cf74947d17bb57f89.tar.xz rsyslog-4217aa53f30fd4e7d9487c4cf74947d17bb57f89.zip |
restructured #include's somewhat thanks to Michael Biebl
-rw-r--r-- | omfwd.c | 3 | ||||
-rw-r--r-- | syslogd.c | 4 | ||||
-rw-r--r-- | syslogd.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -65,6 +65,9 @@ #ifdef USE_GSSAPI #include "gss-misc.h" #endif +#ifdef USE_NETZIP +#include <zlib.h> +#endif MODULE_TYPE_OUTPUT @@ -203,6 +203,10 @@ #include <paths.h> #endif +#ifdef USE_NETZIP +#include <unistd.h> +#include <zlib.h> +#endif /* handle some defines missing on more than one platform */ #ifndef SUN_LEN @@ -26,8 +26,6 @@ #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 |