From: Günther Deschner Date: Wed, 30 Mar 2011 08:50:10 +0000 (+0200) Subject: s3: try to fix the build on some non-linux buildfarm machines. X-Git-Tag: ldb-1.1.0~367 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=fbd0ff69ec07c55a2858f49b1effb40bd871d4a6 s3: try to fix the build on some non-linux buildfarm machines. Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Mar 30 11:39:31 CEST 2011 on sn-devel-104 --- diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c index 93aa89cf24a..a7a1c3d8f5d 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 d69b3333366..1e5dfaba5e1 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 26ca1dad69d..133983d3d43 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 2d6beab4da1..47462f6d852 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" /****************************************************************************