summaryrefslogtreecommitdiff
path: root/source4/ntptr
diff options
context:
space:
mode:
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