summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-06 12:53:38 +0200
committerGünther Deschner <gd@samba.org>2011-05-06 16:37:22 +0200
commit675573d54b717ffc24cf3b49301ff649aecc259a (patch)
tree0a360d725668c72b300619dc82fdb9e88790b661 /source3/utils
parent27022587e31769718ab53f4d114e03ac2f205f27 (diff)
downloadsamba-675573d54b717ffc24cf3b49301ff649aecc259a.tar.gz
samba-675573d54b717ffc24cf3b49301ff649aecc259a.tar.bz2
samba-675573d54b717ffc24cf3b49301ff649aecc259a.zip
s3-includes: finally only include client.h when libsmb is used.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net.h2
-rw-r--r--source3/utils/net_rpc_registry.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index ac43068c12..1d1559f12d 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -22,6 +22,8 @@
* include
*/
+struct cli_state;
+
#include "../librpc/gen_ndr/lsa.h"
#include "intl.h"
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c
index 31f4e3ec5f..20a6bdaa24 100644
--- a/source3/utils/net_rpc_registry.c
+++ b/source3/utils/net_rpc_registry.c
@@ -31,6 +31,7 @@
#include <assert.h>
#include "../libcli/security/display_sec.h"
#include "../libcli/registry/util_reg.h"
+#include "client.h"
/*******************************************************************