summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-08-05 10:49:53 +0200
committerAndreas Schneider <asn@samba.org>2010-08-05 12:08:31 +0200
commitce2a086119330a0a39e6d7423432c1b2e0da247b (patch)
tree8d40f57f40486b779a0a78b714c9ea309b58b3f9 /source3/lib
parentc136b84f0d28d1a88c5918b06f81766a271a3780 (diff)
downloadsamba-ce2a086119330a0a39e6d7423432c1b2e0da247b.tar.gz
samba-ce2a086119330a0a39e6d7423432c1b2e0da247b.tar.bz2
samba-ce2a086119330a0a39e6d7423432c1b2e0da247b.zip
s3-popt: Only include popt-common.h when needed.
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/cm.c1
-rw-r--r--source3/lib/popt_common.c1
-rw-r--r--source3/lib/smbconf/testsuite.c1
-rw-r--r--source3/lib/util.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index 3a624bf7e8..630c74e8d5 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "lib/netapi/netapi.h"
#include "lib/netapi/netapi_private.h"
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index 060382b930..9dd438b7f7 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
/* Handle command line options:
* -d,--debuglevel
diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c
index 42ef76df11..2c6fedc4ca 100644
--- a/source3/lib/smbconf/testsuite.c
+++ b/source3/lib/smbconf/testsuite.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "lib/smbconf/smbconf.h"
#include "lib/smbconf/smbconf_init.h"
#include "lib/smbconf/smbconf_reg.h"
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 6770a715d8..8bea36b870 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "secrets.h"
extern char *global_clobber_region_function;