From: Günther Deschner Date: Fri, 25 Feb 2011 15:19:10 +0000 (+0100) Subject: s3-includes: only include system/syslog.h when needed. X-Git-Tag: ldb-1.1.0~437 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ca4875cd03ee7a4b8521a7ca838ce5d8391a21;p=thirdparty%2Fsamba.git s3-includes: only include system/syslog.h when needed. Guenther --- diff --git a/source3/include/includes.h b/source3/include/includes.h index 1655cfea69a..37ff566e2a1 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -78,7 +78,6 @@ #include "system/passwd.h" #include "system/select.h" #include "system/shmem.h" -#include "system/syslog.h" #include "system/terminal.h" #include "system/time.h" #include "system/wait.h" diff --git a/source3/lib/system.c b/source3/lib/system.c index d1a14033409..41eb38c406e 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/syslog.h" #ifdef HAVE_SYS_PRCTL_H #include diff --git a/source3/modules/vfs_audit.c b/source3/modules/vfs_audit.c index d256c2f7da3..a073da8d912 100644 --- a/source3/modules/vfs_audit.c +++ b/source3/modules/vfs_audit.c @@ -22,6 +22,7 @@ #include "includes.h" +#include "system/syslog.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_VFS diff --git a/source3/modules/vfs_extd_audit.c b/source3/modules/vfs_extd_audit.c index 80dece7eddc..dd2f9a832e1 100644 --- a/source3/modules/vfs_extd_audit.c +++ b/source3/modules/vfs_extd_audit.c @@ -23,6 +23,7 @@ #include "includes.h" +#include "system/syslog.h" static int vfs_extd_audit_debug_level = DBGC_VFS; diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 303ffae660c..aba5f83b441 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -58,6 +58,7 @@ #include "includes.h" +#include "system/syslog.h" #include "../librpc/gen_ndr/ndr_netlogon.h" static int vfs_full_audit_debug_level = DBGC_VFS; diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 177048da510..fb33789a7fd 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/syslog.h" #include "printing.h" #include "librpc/gen_ndr/messaging.h" #include "../librpc/gen_ndr/ndr_spoolss.h"