summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 16:19:10 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:06 +0200
commit89ca4875cd03ee7a4b8521a7ca838ce5d8391a21 (patch)
tree6e2b1c3ceee1779670a78884146b317da3a43929 /source3
parent99f4a6454356c563704c6acb762679a6afa90737 (diff)
downloadsamba-89ca4875cd03ee7a4b8521a7ca838ce5d8391a21.tar.gz
samba-89ca4875cd03ee7a4b8521a7ca838ce5d8391a21.tar.bz2
samba-89ca4875cd03ee7a4b8521a7ca838ce5d8391a21.zip
s3-includes: only include system/syslog.h when needed.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/lib/system.c1
-rw-r--r--source3/modules/vfs_audit.c1
-rw-r--r--source3/modules/vfs_extd_audit.c1
-rw-r--r--source3/modules/vfs_full_audit.c1
-rw-r--r--source3/printing/printing.c1
6 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1655cfea69..37ff566e2a 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 d1a1403340..41eb38c406 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 <sys/prctl.h>
diff --git a/source3/modules/vfs_audit.c b/source3/modules/vfs_audit.c
index d256c2f7da..a073da8d91 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 80dece7edd..dd2f9a832e 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 303ffae660..aba5f83b44 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 177048da51..fb33789a7f 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"