summaryrefslogtreecommitdiff
path: root/source4/ntptr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-28 15:38:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:55 -0500
commit2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee (patch)
treeb543bae1f10adb60f8773ae444ab1f3973423239 /source4/ntptr
parent451797744d8c2bd2c9521a2cdada3f6b8621e2dc (diff)
downloadsamba-2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee.tar.gz
samba-2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee.tar.bz2
samba-2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee.zip
r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
Diffstat (limited to 'source4/ntptr')
-rw-r--r--source4/ntptr/config.mk1
-rw-r--r--source4/ntptr/ntptr.h1
-rw-r--r--source4/ntptr/simple_ldb/ntptr_simple_ldb.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntptr/config.mk b/source4/ntptr/config.mk
index 14124e12fe..d425f57ca4 100644
--- a/source4/ntptr/config.mk
+++ b/source4/ntptr/config.mk
@@ -15,6 +15,7 @@ REQUIRED_SUBSYSTEMS = \
################################################
# Start SUBSYSTEM NTPTR
[SUBSYSTEM::NTPTR]
+PRIVATE_PROTO_HEADER = ntptr_proto.h
OBJ_FILES = \
ntptr_base.o \
ntptr_interface.o
diff --git a/source4/ntptr/ntptr.h b/source4/ntptr/ntptr.h
index 0f07f26cbb..86cf2eeac6 100644
--- a/source4/ntptr/ntptr.h
+++ b/source4/ntptr/ntptr.h
@@ -186,3 +186,4 @@ struct ntptr_critical_sizes {
int sizeof_ntptr_context;
int sizeof_ntptr_ops;
};
+#include "ntptr/ntptr_proto.h"
diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
index ebd6eb4f46..60aa6299a6 100644
--- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
+++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
@@ -33,6 +33,8 @@
#include "librpc/gen_ndr/ndr_spoolss.h"
#include "lib/ldb/include/ldb.h"
#include "db_wrap.h"
+#include "auth/auth.h"
+#include "dsdb/samdb/samdb.h"
/*
connect to the SPOOLSS database