From 7a91282c9fb114e1ef52f89da4c6719683a623e5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Feb 2011 10:46:55 +0100 Subject: s3-libsmb: only include rap client when needed. Guenther --- source3/utils/net_rap.c | 1 + source3/utils/net_rpc.c | 1 + source3/utils/smbcacls.c | 1 + source3/utils/smbtree.c | 1 + 4 files changed, 4 insertions(+) (limited to 'source3/utils') 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; -- cgit