summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-16 02:21:39 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-16 04:05:07 +0200
commit520c9b0b0ae33e6e8fb78034cfff685f5491aab3 (patch)
tree84a8c6ec4537d6b4ccebd2590ff3db849991b401
parentb53c5bcf5bddb8a673d94870bdcfac426a8159ec (diff)
downloadsamba-520c9b0b0ae33e6e8fb78034cfff685f5491aab3.tar.gz
samba-520c9b0b0ae33e6e8fb78034cfff685f5491aab3.tar.bz2
samba-520c9b0b0ae33e6e8fb78034cfff685f5491aab3.zip
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
-rw-r--r--lib/replace/poll.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/poll.c b/lib/replace/poll.c
index e41548dd39..95b2f883bf 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
+#include <sys/ioctl.h>
+#endif
int rep_poll(struct pollfd *fds, nfds_t nfds, int timeout)