summaryrefslogtreecommitdiff
path: root/source3/lib
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/lib
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/lib')
-rw-r--r--source3/lib/netapi/getdc.c2
-rw-r--r--source3/lib/netapi/joindomain.c2
-rw-r--r--source3/lib/netapi/netlogon.c2
-rw-r--r--source3/lib/util_sid.c1
4 files changed, 4 insertions, 3 deletions
diff --git a/source3/lib/netapi/getdc.c b/source3/lib/netapi/getdc.c
index ee17672215..787b258db9 100644
--- a/source3/lib/netapi/getdc.c
+++ b/source3/lib/netapi/getdc.c
@@ -19,11 +19,11 @@
#include "includes.h"
+#include "../librpc/gen_ndr/cli_netlogon.h"
#include "librpc/gen_ndr/libnetapi.h"
#include "lib/netapi/netapi.h"
#include "lib/netapi/netapi_private.h"
#include "lib/netapi/libnetapi.h"
-#include "../librpc/gen_ndr/cli_netlogon.h"
/********************************************************************
********************************************************************/
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index 13a06c7136..89a7c93d5e 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -20,12 +20,12 @@
#include "includes.h"
#include "ads.h"
#include "librpc/gen_ndr/libnetapi.h"
+#include "libcli/auth/libcli_auth.h"
#include "lib/netapi/netapi.h"
#include "lib/netapi/netapi_private.h"
#include "lib/netapi/libnetapi.h"
#include "librpc/gen_ndr/libnet_join.h"
#include "libnet/libnet_join.h"
-#include "libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/cli_wkssvc.h"
#include "secrets.h"
diff --git a/source3/lib/netapi/netlogon.c b/source3/lib/netapi/netlogon.c
index 54b97090cd..d58b7ccf67 100644
--- a/source3/lib/netapi/netlogon.c
+++ b/source3/lib/netapi/netlogon.c
@@ -19,11 +19,11 @@
#include "includes.h"
+#include "../librpc/gen_ndr/cli_netlogon.h"
#include "librpc/gen_ndr/libnetapi.h"
#include "lib/netapi/netapi.h"
#include "lib/netapi/netapi_private.h"
#include "lib/netapi/libnetapi.h"
-#include "../librpc/gen_ndr/cli_netlogon.h"
static WERROR construct_data(enum netr_LogonControlCode function_code,
const uint8_t *data_in,
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index 74b38de2a4..31a4c06c24 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
+#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/dom_sid.h"
/*