summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-18 15:42:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:42 -0500
commit35349a58df5b69446607fbd742a05f57f3515319 (patch)
tree8281d1645dfdd0fd56f85a0e885ae592f9b6b600 /source4/scripting
parent61fa658ebcaf2856d543d376b120932ad5a082f0 (diff)
downloadsamba-35349a58df5b69446607fbd742a05f57f3515319.tar.gz
samba-35349a58df5b69446607fbd742a05f57f3515319.tar.bz2
samba-35349a58df5b69446607fbd742a05f57f3515319.zip
r14542: Remove librpc, libndr and libnbt from includes.h
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/ejs/ejsrpc.h3
-rw-r--r--source4/scripting/ejs/smbcalls.h1
-rw-r--r--source4/scripting/ejs/smbcalls_rand.c1
-rw-r--r--source4/scripting/ejs/smbcalls_rpc.c1
4 files changed, 6 insertions, 0 deletions
diff --git a/source4/scripting/ejs/ejsrpc.h b/source4/scripting/ejs/ejsrpc.h
index 80674fc43b..a320392201 100644
--- a/source4/scripting/ejs/ejsrpc.h
+++ b/source4/scripting/ejs/ejsrpc.h
@@ -20,6 +20,9 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include "librpc/gen_ndr/security.h"
+#include "librpc/rpc/dcerpc.h"
+
struct ejs_rpc {
int eid;
const char *callname;
diff --git a/source4/scripting/ejs/smbcalls.h b/source4/scripting/ejs/smbcalls.h
index 5954d2385e..5d5f6841d9 100644
--- a/source4/scripting/ejs/smbcalls.h
+++ b/source4/scripting/ejs/smbcalls.h
@@ -31,5 +31,6 @@ void mprSetStringCFunction(struct MprVar *obj, const char *name, MprStringCFunct
struct ldb_context;
struct ldb_message;
+struct cli_credentials;
#include "scripting/ejs/proto.h"
diff --git a/source4/scripting/ejs/smbcalls_rand.c b/source4/scripting/ejs/smbcalls_rand.c
index 043b9cca09..9920c06958 100644
--- a/source4/scripting/ejs/smbcalls_rand.c
+++ b/source4/scripting/ejs/smbcalls_rand.c
@@ -24,6 +24,7 @@
#include "scripting/ejs/smbcalls.h"
#include "lib/appweb/ejs/ejs.h"
#include "system/passwd.h"
+#include "librpc/gen_ndr/ndr_misc.h"
/*
usage:
diff --git a/source4/scripting/ejs/smbcalls_rpc.c b/source4/scripting/ejs/smbcalls_rpc.c
index 0d2d34a478..29346f2586 100644
--- a/source4/scripting/ejs/smbcalls_rpc.c
+++ b/source4/scripting/ejs/smbcalls_rpc.c
@@ -31,6 +31,7 @@
#include "lib/events/events.h"
#include "librpc/rpc/dcerpc_table.h"
#include "auth/credentials/credentials.h"
+#include "librpc/rpc/dcerpc.h"
/*
state of a irpc 'connection'