From b2af281e508194d9548ea1119c19ee96a0dd1f0a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Mar 2011 15:31:06 +0100 Subject: s3-messages: only include messages.h where needed. Guenther --- source3/rpc_server/epmd.c | 1 + source3/rpc_server/netlogon/srv_netlog_nt.c | 1 + source3/rpc_server/spoolss/srv_spoolss_nt.c | 1 + source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 1 + 4 files changed, 4 insertions(+) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/epmd.c b/source3/rpc_server/epmd.c index 0cafccb4c0..011bfa8700 100644 --- a/source3/rpc_server/epmd.c +++ b/source3/rpc_server/epmd.c @@ -26,6 +26,7 @@ #include "../librpc/gen_ndr/srv_epmapper.h" #include "rpc_server/rpc_server.h" #include "rpc_server/epmapper/srv_epmapper.h" +#include "messages.h" #define DAEMON_NAME "epmd" diff --git a/source3/rpc_server/netlogon/srv_netlog_nt.c b/source3/rpc_server/netlogon/srv_netlog_nt.c index dad4fcbdc7..c2dbdc2b2f 100644 --- a/source3/rpc_server/netlogon/srv_netlog_nt.c +++ b/source3/rpc_server/netlogon/srv_netlog_nt.c @@ -45,6 +45,7 @@ #include "../libcli/registry/util_reg.h" #include "passdb.h" #include "auth.h" +#include "messages.h" extern userdom_struct current_user_info; diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 4a114464cd..4735909b24 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -48,6 +48,7 @@ #include "../libcli/registry/util_reg.h" #include "smbd/smbd.h" #include "auth.h" +#include "messages.h" /* macros stolen from s4 spoolss server */ #define SPOOLSS_BUFFER_UNION(fn,info,level) \ diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index 01f3914827..2faf22eebd 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -34,6 +34,7 @@ #include "../lib/util/util_pw.h" #include "smbd/smbd.h" #include "auth.h" +#include "messages.h" extern const struct generic_mapping file_generic_mapping; -- cgit