summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-05 15:14:04 +0200
committerGünther Deschner <gd@samba.org>2010-08-06 15:46:16 +0200
commit0f8e032628865861b356755b4fbafb6fbfeddbeb (patch)
treee808554c71c650f65d846372150b884a0c64b560 /source3/smbd
parentccd4af271f73e88abd6899a347f9ce5af69c1f1c (diff)
downloadsamba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.gz
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.bz2
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.zip
s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c1
-rw-r--r--source3/smbd/service.c1
-rw-r--r--source3/smbd/uid.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 996417b51e..f0989e6ac7 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "../librpc/gen_ndr/netlogon.h"
/* Fix up prototypes for OSX 10.4, where they're missing */
#ifndef HAVE_SETNETGRENT_PROTOTYPE
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index ddd5ae2449..9a345476dc 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "../librpc/gen_ndr/netlogon.h"
extern userdom_struct current_user_info;
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index aecce41021..c7c216b66f 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "../librpc/gen_ndr/netlogon.h"
/* what user is current? */
extern struct current_user current_user;