summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
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/utils')
-rw-r--r--source3/utils/dbwrap_torture.c1
-rw-r--r--source3/utils/log2pcaphex.c1
-rw-r--r--source3/utils/net.c1
-rw-r--r--source3/utils/net_rpc_registry.c1
-rw-r--r--source3/utils/net_rpc_sh_acct.c1
-rw-r--r--source3/utils/net_rpc_shell.c1
-rw-r--r--source3/utils/nmblookup.c1
-rw-r--r--source3/utils/ntlm_auth.c1
-rw-r--r--source3/utils/pdbedit.c1
-rw-r--r--source3/utils/profiles.c1
-rw-r--r--source3/utils/sharesec.c1
-rw-r--r--source3/utils/smbcacls.c1
-rw-r--r--source3/utils/smbcontrol.c1
-rw-r--r--source3/utils/smbcquotas.c1
-rw-r--r--source3/utils/smbget.c1
-rw-r--r--source3/utils/smbtree.c1
-rw-r--r--source3/utils/status.c1
-rw-r--r--source3/utils/testparm.c1
18 files changed, 18 insertions, 0 deletions
diff --git a/source3/utils/dbwrap_torture.c b/source3/utils/dbwrap_torture.c
index 04e17946c2..1430161858 100644
--- a/source3/utils/dbwrap_torture.c
+++ b/source3/utils/dbwrap_torture.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#if 0
#include "lib/events/events.h"
diff --git a/source3/utils/log2pcaphex.c b/source3/utils/log2pcaphex.c
index 5b946913d2..0b1230efe7 100644
--- a/source3/utils/log2pcaphex.c
+++ b/source3/utils/log2pcaphex.c
@@ -51,6 +51,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
/* We don't care about the paranoid malloc checker in this standalone
program */
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 1c342858ee..d9a1bf6912 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -41,6 +41,7 @@
/*****************************************************/
#include "includes.h"
+#include "popt_common.h"
#include "utils/net.h"
#include "secrets.h"
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c
index 08142357a9..cfc2a7ed8a 100644
--- a/source3/utils/net_rpc_registry.c
+++ b/source3/utils/net_rpc_registry.c
@@ -18,6 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "includes.h"
+#include "popt_common.h"
#include "registry.h"
#include "utils/net.h"
#include "utils/net_registry_util.h"
diff --git a/source3/utils/net_rpc_sh_acct.c b/source3/utils/net_rpc_sh_acct.c
index 3e93fc503c..435af091e3 100644
--- a/source3/utils/net_rpc_sh_acct.c
+++ b/source3/utils/net_rpc_sh_acct.c
@@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "includes.h"
+#include "popt_common.h"
#include "utils/net.h"
#include "../librpc/gen_ndr/cli_samr.h"
diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c
index b1de4d24c5..b04e6bd5b1 100644
--- a/source3/utils/net_rpc_shell.c
+++ b/source3/utils/net_rpc_shell.c
@@ -19,6 +19,7 @@
#include "includes.h"
+#include "popt_common.h"
#include "utils/net.h"
#include "../librpc/gen_ndr/ndr_samr.h"
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 63c9a34dd8..1187c96d73 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
extern bool AllowDebugChange;
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 1ddc94b8f7..d234a3cd05 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "utils/ntlm_auth.h"
#include "../libcli/auth/libcli_auth.h"
#include "../libcli/auth/spnego.h"
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index c6ccbc86a2..b3c6d14a96 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#define BIT_BACKEND 0x00000004
#define BIT_VERBOSE 0x00000008
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c
index ce330a8b16..f6f500a2aa 100644
--- a/source3/utils/profiles.c
+++ b/source3/utils/profiles.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "registry/reg_objects.h"
#include "regfio.h"
diff --git a/source3/utils/sharesec.c b/source3/utils/sharesec.c
index a29995b87b..79078b234a 100644
--- a/source3/utils/sharesec.c
+++ b/source3/utils/sharesec.c
@@ -23,6 +23,7 @@
#include "includes.h"
+#include "popt_common.h"
static TALLOC_CTX *ctx;
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 46361add76..65fec1041b 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "rpc_client/cli_lsarpc.h"
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 58e03fb6b2..09f4f3146f 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "librpc/gen_ndr/messaging.h"
#include "librpc/gen_ndr/spoolss.h"
#include "nt_printing.h"
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c
index 3f98b12503..f575872b0d 100644
--- a/source3/utils/smbcquotas.c
+++ b/source3/utils/smbcquotas.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "rpc_client/cli_lsarpc.h"
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c
index 8b88a0fef3..62ecb34c9e 100644
--- a/source3/utils/smbget.c
+++ b/source3/utils/smbget.c
@@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "includes.h"
+#include "popt_common.h"
#include "libsmbclient.h"
#if _FILE_OFFSET_BITS==64
diff --git a/source3/utils/smbtree.c b/source3/utils/smbtree.c
index d7ba1234ed..f27011cdea 100644
--- a/source3/utils/smbtree.c
+++ b/source3/utils/smbtree.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#include "../librpc/gen_ndr/cli_srvsvc.h"
static int use_bcast;
diff --git a/source3/utils/status.c b/source3/utils/status.c
index d2b10c1810..fb23789d0e 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -31,6 +31,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
#define SMB_MAXPIDS 2048
static uid_t Ucrit_uid = 0; /* added by OH */
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 8ce0d58ce9..6d606bba41 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -32,6 +32,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
extern bool AllowDebugChange;