diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-16 02:21:39 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-10-29 10:05:44 +0100 |
commit | 35970565a651ef9e98340ce49a3f0502bf4494bb (patch) | |
tree | 282aab58a3db16714647f5c62c498b8d4819d7cf /lib | |
parent | 6c47e8c3ff7370a73191c8bafe11b698b7592349 (diff) | |
download | samba-35970565a651ef9e98340ce49a3f0502bf4494bb.tar.gz |
replace: add some includes for poll.h
See bug #8107
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sun Sep 16 04:05:08 CEST 2012 on sn-devel-104
(cherry picked from commit 520c9b0b0ae33e6e8fb78034cfff685f5491aab3)
(cherry picked from commit ea96d79e21a549204a7f64307059ea877bfb9fd5)
(cherry picked from commit 757dc4d753275d42b8dbf2710290b3dbfb9f3cda)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/poll.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/poll.c b/lib/replace/poll.c index e41548dd39f..c855177be70 100644 --- a/lib/replace/poll.c +++ b/lib/replace/poll.c @@ -30,6 +30,12 @@ #include "replace.h" #include "system/select.h" +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_IOCTL_H +#include <sys/ioctl.h> +#endif int rep_poll(struct pollfd *fds, nfds_t nfds, int timeout) |