summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-14 15:03:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:16 -0500
commite3f2414cf9e582a4e4deecc662b64a7bb2679a34 (patch)
treed7f9afc1db09bce58ff895418c97c36e6bb33908 /source4/libnet
parenteefe30b7d8e17ed744318417954669bacf2b3ac0 (diff)
downloadsamba-e3f2414cf9e582a4e4deecc662b64a7bb2679a34.tar.gz
samba-e3f2414cf9e582a4e4deecc662b64a7bb2679a34.tar.bz2
samba-e3f2414cf9e582a4e4deecc662b64a7bb2679a34.zip
r14380: Reduce the size of structs.h
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet.h1
-rw-r--r--source4/libnet/libnet_join.h5
-rw-r--r--source4/libnet/libnet_passwd.c3
-rw-r--r--source4/libnet/libnet_vampire.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h
index 2496eb0a54..81eb32be51 100644
--- a/source4/libnet/libnet.h
+++ b/source4/libnet/libnet.h
@@ -39,6 +39,7 @@ struct libnet_context {
};
+#include "ldb.h"
#include "libnet/libnet_passwd.h"
#include "libnet/libnet_time.h"
#include "libnet/libnet_rpc.h"
diff --git a/source4/libnet/libnet_join.h b/source4/libnet/libnet_join.h
index 35460b7a0a..3b233950b0 100644
--- a/source4/libnet/libnet_join.h
+++ b/source4/libnet/libnet_join.h
@@ -20,6 +20,9 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef __LIBNET_JOIN_H__
+#define __LIBNET_JOIN_H__
+
#include "librpc/gen_ndr/ndr_netlogon.h"
enum libnet_Join_level {
@@ -76,3 +79,5 @@ struct libnet_Join {
} out;
};
+
+#endif /* __LIBNET_JOIN_H__ */
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index 7d738d8ee0..30012282e0 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -23,8 +23,7 @@
#include "smb.h"
#include "libnet/libnet.h"
#include "lib/crypto/crypto.h"
-#include "auth/credentials/credentials.h"
-#include "libcli/auth/proto.h"
+#include "libcli/auth/libcli_auth.h"
/*
* do a password change using DCERPC/SAMR calls
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index e92dbc281d..93e752311f 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -23,9 +23,8 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "auth/credentials/credentials.h"
+#include "libcli/auth/libcli_auth.h"
#include "auth/gensec/schannel_proto.h"
-#include "libcli/auth/proto.h"
/**