summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:44:11 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:05 +0100
commit942c6eedf7dec7de7979609789ddd08e308e70c2 (patch)
tree0fd618a6f0da925c0d1d3552a5d818fbdf6b2da4
parent7628fb2396f8c2bf68f0c693ec1619ca4b98d780 (diff)
downloadsamba-942c6eedf7dec7de7979609789ddd08e308e70c2.tar.gz
samba-942c6eedf7dec7de7979609789ddd08e308e70c2.tar.bz2
samba-942c6eedf7dec7de7979609789ddd08e308e70c2.zip
source4/winbind: Fix prototypes for all functions.
-rw-r--r--source4/winbind/wb_async_helpers.c2
-rw-r--r--source4/winbind/wb_async_helpers.h2
-rw-r--r--source4/winbind/wb_utils.c3
3 files changed, 7 insertions, 0 deletions
diff --git a/source4/winbind/wb_async_helpers.c b/source4/winbind/wb_async_helpers.c
index 5d530ca149..2af8567fd4 100644
--- a/source4/winbind/wb_async_helpers.c
+++ b/source4/winbind/wb_async_helpers.c
@@ -29,6 +29,8 @@
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
+#include "winbind/wb_helper.h"
+
struct lsa_lookupsids_state {
struct composite_context *ctx;
diff --git a/source4/winbind/wb_async_helpers.h b/source4/winbind/wb_async_helpers.h
index 0dc2d4ff10..c930bc02a0 100644
--- a/source4/winbind/wb_async_helpers.h
+++ b/source4/winbind/wb_async_helpers.h
@@ -22,6 +22,8 @@
#ifndef __WB_ASYNC_HELPERS_H__
#define __WB_ASYNC_HELPERS_H__
+struct dcerpc_pipe;
+
#include "librpc/gen_ndr/lsa.h"
struct wb_sid_object {
diff --git a/source4/winbind/wb_utils.c b/source4/winbind/wb_utils.c
index ffc4aa1950..0d1f228090 100644
--- a/source4/winbind/wb_utils.c
+++ b/source4/winbind/wb_utils.c
@@ -21,6 +21,9 @@
#include "includes.h"
#include "param/param.h"
+#include "libcli/security/dom_sid.h"
+#include "winbind/wb_async_helpers.h"
+#include "winbind/wb_helper.h"
/* Split a domain\\user string into it's parts, because the client supplies it