summaryrefslogtreecommitdiff
path: root/source3/rpc_server/spoolss
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-26 00:28:15 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:07 +0200
commit0a250f4946a6045290229a276acf1e007c61450e (patch)
treedf5f7c67a1756b1dbee2bab23c9bb8b621856b97 /source3/rpc_server/spoolss
parent49ccae1c2006806b36994992a9550cbb1bb8b769 (diff)
downloadsamba-0a250f4946a6045290229a276acf1e007c61450e.tar.gz
samba-0a250f4946a6045290229a276acf1e007c61450e.tar.bz2
samba-0a250f4946a6045290229a276acf1e007c61450e.zip
registry: create and use shared libcli/registry/util_reg.h header.
Guenther
Diffstat (limited to 'source3/rpc_server/spoolss')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c1
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_util.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index d95bd54aec..56a2713442 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -45,6 +45,7 @@
#include "rpc_misc.h"
#include "printing/notify.h"
#include "serverid.h"
+#include "../libcli/registry/util_reg.h"
/* macros stolen from s4 spoolss server */
#define SPOOLSS_BUFFER_UNION(fn,info,level) \
diff --git a/source3/rpc_server/spoolss/srv_spoolss_util.c b/source3/rpc_server/spoolss/srv_spoolss_util.c
index c49d610555..9e9e253dd7 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_util.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_util.c
@@ -30,6 +30,7 @@
#include "rpc_server/rpc_ncacn_np.h"
#include "../libcli/security/security.h"
#include "rpc_client/cli_winreg.h"
+#include "../libcli/registry/util_reg.h"
#define TOP_LEVEL_PRINT_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print"
#define TOP_LEVEL_PRINT_PRINTERS_KEY TOP_LEVEL_PRINT_KEY "\\Printers"