summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-24 10:46:55 +0100
committerGünther Deschner <gd@samba.org>2011-03-15 21:16:35 +0100
commit7a91282c9fb114e1ef52f89da4c6719683a623e5 (patch)
tree508d970da4c4e6c93cc4091476a01edafe428e92 /source3/utils
parentc91b897caa11c9400851e16d3091d89b79b87614 (diff)
downloadsamba-7a91282c9fb114e1ef52f89da4c6719683a623e5.tar.gz
samba-7a91282c9fb114e1ef52f89da4c6719683a623e5.tar.bz2
samba-7a91282c9fb114e1ef52f89da4c6719683a623e5.zip
s3-libsmb: only include rap client when needed.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rap.c1
-rw-r--r--source3/utils/net_rpc.c1
-rw-r--r--source3/utils/smbcacls.c1
-rw-r--r--source3/utils/smbtree.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c
index 04e81f95f7..2cc42c89e9 100644
--- a/source3/utils/net_rap.c
+++ b/source3/utils/net_rap.c
@@ -26,6 +26,7 @@
#include "../librpc/gen_ndr/rap.h"
#include "../librpc/gen_ndr/svcctl.h"
#include "utils/net.h"
+#include "libsmb/clirap.h"
/* The following messages were for error checking that is not properly
reported at the moment. Which should be reinstated? */
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 0bb4305d59..3fbeb87f3b 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -39,6 +39,7 @@
#include "lib/netapi/netapi_net.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/security.h"
+#include "libsmb/clirap.h"
static int net_mode_share;
static NTSTATUS sync_files(struct copy_clistate *cp_clistate, const char *mask);
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 24ae9e94f6..c7b586a4c0 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -27,6 +27,7 @@
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "rpc_client/cli_lsarpc.h"
#include "../libcli/security/security.h"
+#include "libsmb/clirap.h"
static int test_args;
diff --git a/source3/utils/smbtree.c b/source3/utils/smbtree.c
index 81b9ca3257..3f7fc97698 100644
--- a/source3/utils/smbtree.c
+++ b/source3/utils/smbtree.c
@@ -23,6 +23,7 @@
#include "popt_common.h"
#include "rpc_client/cli_pipe.h"
#include "../librpc/gen_ndr/ndr_srvsvc_c.h"
+#include "libsmb/clirap.h"
static int use_bcast;