summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.h2
-rw-r--r--source4/smbd/process_model.mk1
-rw-r--r--source4/smbd/server.c1
-rw-r--r--source4/smbd/service.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/source4/smbd/process_model.h b/source4/smbd/process_model.h
index 2575adeccb..4080d2d4b6 100644
--- a/source4/smbd/process_model.h
+++ b/source4/smbd/process_model.h
@@ -61,3 +61,5 @@ struct process_model_critical_sizes {
int interface_version;
int sizeof_model_ops;
};
+
+#include "smbd/process_model_proto.h"
diff --git a/source4/smbd/process_model.mk b/source4/smbd/process_model.mk
index b8f960215a..22083a7a87 100644
--- a/source4/smbd/process_model.mk
+++ b/source4/smbd/process_model.mk
@@ -34,6 +34,7 @@ REQUIRED_SUBSYSTEMS = EXT_LIB_PTHREAD
################################################
# Start SUBSYSTEM PROCESS_MODEL
[SUBSYSTEM::PROCESS_MODEL]
+PRIVATE_PROTO_HEADER = process_model_proto.h
OBJ_FILES = \
process_model.o
#
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 1daf346a2d..9c45da302d 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -34,6 +34,7 @@
#include "ntvfs/ntvfs.h"
#include "ntptr/ntptr.h"
#include "auth/gensec/gensec.h"
+#include "smbd/process_model.h"
/*
recursively delete a directory tree
diff --git a/source4/smbd/service.c b/source4/smbd/service.c
index 2057fc811a..5bced4eae4 100644
--- a/source4/smbd/service.c
+++ b/source4/smbd/service.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "dlinklist.h"
+#include "smbd/process_model.h"
/*
a linked list of registered servers