From a7cc50dab8f9acb54f054d5763d61dc80f01a601 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 1 Nov 1999 04:14:09 +0000 Subject: [PATCH] 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. --- logging.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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