From: Todd C. Miller Date: Mon, 1 Nov 1999 04:14:09 +0000 (+0000) Subject: Fix compilation problem when --with-logging=file was specified. This X-Git-Tag: SUDO_1_6_0~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7cc50dab8f9acb54f054d5763d61dc80f01a601;p=sudo Fix compilation problem when --with-logging=file was specified. This means that syslog is now required to build sudo but that should not be a problem. If it is it can be fixed trivially with a configure check for syslog() or syslog.h. --- diff --git a/logging.h b/logging.h index 10ccaf78b..da4b02af3 100644 --- a/logging.h +++ b/logging.h @@ -35,6 +35,7 @@ #ifndef _LOGGING_H #define _LOGGING_H +#include #ifdef __STDC__ # include #else @@ -46,10 +47,6 @@ #define SLOG_FILE 0x02 #define SLOG_BOTH 0x03 -#if (LOGGING & SLOG_SYSLOG) -# include -#endif - /* Flags for log_error() */ #define MSG_ONLY 0x01 #define USE_ERRNO 0x02