summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/pass_check.c1
-rw-r--r--source3/include/event.h2
-rw-r--r--source3/lib/packet.c1
-rw-r--r--source3/smbd/utmp.c1
4 files changed, 4 insertions, 1 deletions
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c
index 93aa89cf24..a7a1c3d8f5 100644
--- a/source3/auth/pass_check.c
+++ b/source3/auth/pass_check.c
@@ -21,6 +21,7 @@
password database. The SMB encrypted password support is elsewhere */
#include "includes.h"
+#include "system/passwd.h"
#include "auth.h"
#undef DBGC_CLASS
diff --git a/source3/include/event.h b/source3/include/event.h
index d69b333336..1e5dfaba5e 100644
--- a/source3/include/event.h
+++ b/source3/include/event.h
@@ -25,7 +25,7 @@
#define event_context_init(mem_ctx) s3_tevent_context_init(mem_ctx)
/* The following definitions come from lib/events.c */
-
+struct pollfd;
struct timeval *get_timed_events_timeout(struct event_context *event_ctx,
struct timeval *to_ret);
void dump_event_list(struct event_context *event_ctx);
diff --git a/source3/lib/packet.c b/source3/lib/packet.c
index 26ca1dad69..133983d3d4 100644
--- a/source3/lib/packet.c
+++ b/source3/lib/packet.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "../lib/util/select.h"
+#include "system/filesys.h"
#include "system/select.h"
#include "packet.h"
diff --git a/source3/smbd/utmp.c b/source3/smbd/utmp.c
index 2d6beab4da..47462f6d85 100644
--- a/source3/smbd/utmp.c
+++ b/source3/smbd/utmp.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/smbd.h"
/****************************************************************************