summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-25 11:56:10 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:10 +0200
commit643b08dd25f9b1891b55d6653d0b04403d9b8ea0 (patch)
treeddd47947bec87d4d46c318030ecf4ce5ee12fab7
parent1d383daf399b08c3833e55d11135796e34cc2689 (diff)
downloadsamba-643b08dd25f9b1891b55d6653d0b04403d9b8ea0.tar.gz
samba-643b08dd25f9b1891b55d6653d0b04403d9b8ea0.tar.bz2
samba-643b08dd25f9b1891b55d6653d0b04403d9b8ea0.zip
s3: include ../librpc/gen_ndr/lsa.h where needed.
Guenther
-rw-r--r--source3/include/passdb.h2
-rw-r--r--source3/lib/audit.c1
-rw-r--r--source3/lib/winbind_util.h2
-rw-r--r--source3/rpc_client/init_lsa.c1
-rw-r--r--source3/rpc_client/init_lsa.h5
-rw-r--r--source3/utils/net.h1
6 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 3f4d2b91b3..cae599bdf8 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -23,6 +23,8 @@
#ifndef _PASSDB_H
#define _PASSDB_H
+#include "../librpc/gen_ndr/lsa.h"
+
#include "mapping.h"
/**********************************************************************
diff --git a/source3/lib/audit.c b/source3/lib/audit.c
index 0eb12a95e6..dd6e039e2d 100644
--- a/source3/lib/audit.c
+++ b/source3/lib/audit.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "../librpc/gen_ndr/lsa.h"
static const struct audit_category_tab {
uint32 category;
diff --git a/source3/lib/winbind_util.h b/source3/lib/winbind_util.h
index 960bd4ee77..541bb95f17 100644
--- a/source3/lib/winbind_util.h
+++ b/source3/lib/winbind_util.h
@@ -21,6 +21,8 @@
#ifndef __LIB__WINBIND_UTIL_H__
#define __LIB__WINBIND_UTIL_H__
+#include "../librpc/gen_ndr/lsa.h"
+
/* needed for wbcErr below */
#include "nsswitch/libwbclient/wbclient.h"
diff --git a/source3/rpc_client/init_lsa.c b/source3/rpc_client/init_lsa.c
index d2795dd65c..26811973ee 100644
--- a/source3/rpc_client/init_lsa.c
+++ b/source3/rpc_client/init_lsa.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "rpc_client/init_lsa.h"
+#include "../librpc/gen_ndr/lsa.h"
/*******************************************************************
inits a structure.
diff --git a/source3/rpc_client/init_lsa.h b/source3/rpc_client/init_lsa.h
index f3586a3b59..670caed212 100644
--- a/source3/rpc_client/init_lsa.h
+++ b/source3/rpc_client/init_lsa.h
@@ -1,3 +1,8 @@
+struct lsa_String;
+struct lsa_StringLarge;
+struct lsa_AsciiString;
+struct lsa_AsciiStringLarge;
+
/* The following definitions come from rpc_client/init_lsa.c */
void init_lsa_String(struct lsa_String *name, const char *s);
diff --git a/source3/utils/net.h b/source3/utils/net.h
index ac300104c3..9618e7affe 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -23,6 +23,7 @@
*/
#include "localedir.h"
+#include "../librpc/gen_ndr/lsa.h"
#include "intl.h"
#ifdef HAVE_LIBINTL_H