From 66adb84e46489a94ea49fc70d93dfe90a601617c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 28 May 2010 02:18:21 +0200 Subject: s3-build: only use ndr_samr.h where needed. Guenther --- source3/libsmb/passchange.c | 1 + source3/rpc_server/srv_lsa_hnd.c | 1 + source3/rpcclient/cmd_test.c | 1 + source3/utils/net_rpc_shell.c | 1 + 4 files changed, 4 insertions(+) diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c index 4a81a21417..88f1ca8da2 100644 --- a/source3/libsmb/passchange.c +++ b/source3/libsmb/passchange.c @@ -19,6 +19,7 @@ #include "includes.h" #include "rpc_client/cli_samr.h" +#include "../librpc/gen_ndr/ndr_samr.h" /************************************************************* Change a password on a remote machine using IPC calls. diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c index f1ab774859..7cc1b43611 100644 --- a/source3/rpc_server/srv_lsa_hnd.c +++ b/source3/rpc_server/srv_lsa_hnd.c @@ -21,6 +21,7 @@ #include "includes.h" #include "../librpc/gen_ndr/ndr_lsa.h" +#include "../librpc/gen_ndr/ndr_samr.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpcclient/cmd_test.c b/source3/rpcclient/cmd_test.c index 263c45e5a2..e854df9a78 100644 --- a/source3/rpcclient/cmd_test.c +++ b/source3/rpcclient/cmd_test.c @@ -22,6 +22,7 @@ #include "rpcclient.h" #include "../librpc/gen_ndr/cli_lsa.h" #include "rpc_client/cli_lsarpc.h" +#include "../librpc/gen_ndr/ndr_samr.h" static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, int argc, const char **argv) diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c index 11facf933b..b1de4d24c5 100644 --- a/source3/utils/net_rpc_shell.c +++ b/source3/utils/net_rpc_shell.c @@ -20,6 +20,7 @@ #include "includes.h" #include "utils/net.h" +#include "../librpc/gen_ndr/ndr_samr.h" static NTSTATUS rpc_sh_info(struct net_context *c, TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, -- cgit