s3-includes: only include system/capability.h when needed.
authorGünther Deschner <gd@samba.org>
Fri, 25 Feb 2011 15:39:14 +0000 (16:39 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 29 Mar 2011 23:13:06 +0000 (01:13 +0200)
Guenther

source3/include/includes.h
source3/lib/system.c

index 6cd90ca4b410f0390f03ec0c7409876529ad8843..43d7c7be4ad51c1961fb07c52fad70842f3082b1 100644 (file)
@@ -68,7 +68,6 @@
 #endif
 #endif /* RELIANTUNIX */
 
-#include "system/capability.h"
 #include "system/dir.h"
 #include "system/filesys.h"
 #include "system/locale.h"
index 41eb38c406ee21bdf9e4767888b359687cb97371..316e8ff61bb7eecd578e6e7cd0f771e2c3e9f1ad 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "system/syslog.h"
+#include "system/capability.h"
 
 #ifdef HAVE_SYS_PRCTL_H
 #include <sys/prctl.h>