From 66adb84e46489a94ea49fc70d93dfe90a601617c Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 28 May 2010 02:18:21 +0200 Subject: [PATCH] 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 4a81a214177..88f1ca8da27 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 f1ab7748590..7cc1b436119 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 263c45e5a2e..e854df9a780 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 11facf933bb..b1de4d24c50 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, -- 2.34.1