From ce2a086119330a0a39e6d7423432c1b2e0da247b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 5 Aug 2010 10:49:53 +0200 Subject: s3-popt: Only include popt-common.h when needed. --- source3/lib/netapi/cm.c | 1 + source3/lib/popt_common.c | 1 + source3/lib/smbconf/testsuite.c | 1 + source3/lib/util.c | 1 + 4 files changed, 4 insertions(+) (limited to 'source3/lib') 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; -- cgit