diff options
-rw-r--r-- | source3/utils/net.c | 1 | ||||
-rw-r--r-- | source3/utils/net.h | 1 | ||||
-rw-r--r-- | source3/utils/net_dom.c | 1 | ||||
-rw-r--r-- | source3/utils/net_rpc.c | 1 | ||||
-rw-r--r-- | source3/utils/net_rpc_shell.c | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index d9a1bf6912..eea13ea138 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -44,6 +44,7 @@ #include "popt_common.h" #include "utils/net.h" #include "secrets.h" +#include "lib/netapi/netapi.h" extern bool AllowDebugChange; diff --git a/source3/utils/net.h b/source3/utils/net.h index 39a431315e..fc6addf231 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -22,7 +22,6 @@ * include */ -#include "lib/netapi/netapi.h" #include "localedir.h" #ifdef HAVE_LIBINTL_H diff --git a/source3/utils/net_dom.c b/source3/utils/net_dom.c index 89cc228f47..d07a1d4f04 100644 --- a/source3/utils/net_dom.c +++ b/source3/utils/net_dom.c @@ -21,6 +21,7 @@ #include "utils/net.h" #include "../librpc/gen_ndr/cli_initshutdown.h" #include "../librpc/gen_ndr/ndr_winreg.h" +#include "lib/netapi/netapi.h" int net_dom_usage(struct net_context *c, int argc, const char **argv) { diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 00ebe13af5..56eb42e0ed 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -34,6 +34,7 @@ #include "../librpc/gen_ndr/cli_initshutdown.h" #include "../librpc/gen_ndr/cli_winreg.h" #include "secrets.h" +#include "lib/netapi/netapi.h" static int net_mode_share; static bool sync_files(struct copy_clistate *cp_clistate, const char *mask); diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c index b04e6bd5b1..d005da63e7 100644 --- a/source3/utils/net_rpc_shell.c +++ b/source3/utils/net_rpc_shell.c @@ -22,6 +22,7 @@ #include "popt_common.h" #include "utils/net.h" #include "../librpc/gen_ndr/ndr_samr.h" +#include "lib/netapi/netapi.h" static NTSTATUS rpc_sh_info(struct net_context *c, TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, |