summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@jelmer.uk>2015-12-28 19:01:54 +0000
committerJelmer Vernooij <jelmer@samba.org>2016-01-13 04:43:23 +0100
commit773cfba9af34e64b96e843b1b60afa5a0b0dec32 (patch)
tree431b1eea9ee096221abc1689ecbb5ed95285e4dc /source4/nbt_server
parentce32f26647391df0e088b8850f5afc1120190a72 (diff)
downloadsamba-773cfba9af34e64b96e843b1b60afa5a0b0dec32.tar.gz
Avoid including libds/common/roles.h in public loadparm.h header.
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-By: Andrew Bartlett <abartlet@samba.org> Reviewed-By: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/dgram/netlogon.c1
-rw-r--r--source4/nbt_server/register.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/nbt_server/dgram/netlogon.c b/source4/nbt_server/dgram/netlogon.c
index 0e5294cb94c..c88ffb51f2c 100644
--- a/source4/nbt_server/dgram/netlogon.c
+++ b/source4/nbt_server/dgram/netlogon.c
@@ -31,6 +31,7 @@
#include "dsdb/samdb/ldb_modules/util.h"
#include "libcli/security/security.h"
#include "nbt_server/dgram/proto.h"
+#include "libds/common/roles.h"
/*
reply to a GETDC request
diff --git a/source4/nbt_server/register.c b/source4/nbt_server/register.c
index f5517b249a5..07f4e20e725 100644
--- a/source4/nbt_server/register.c
+++ b/source4/nbt_server/register.c
@@ -30,6 +30,7 @@
#include "librpc/gen_ndr/ndr_nbt.h"
#include "dsdb/samdb/samdb.h"
#include "param/param.h"
+#include "libds/common/roles.h"
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);