diff options
-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
@@ -64,6 +64,9 @@ #ifdef USE_GSSAPI #include "gss-misc.h" #endif +#ifdef USE_NETZIP +#include <zlib.h> +#endif #ifdef SYSLOG_INET #define INET_SUSPEND_TIME 60 /* equal to 1 minute @@ -196,6 +196,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 @@ -24,8 +24,6 @@ #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 |