git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53c5bc
)
replace: add some includes for poll.h
author
Björn Jacke
<bj@sernet.de>
Sun, 16 Sep 2012 00:21:39 +0000
(
02:21
+0200)
committer
Bjoern Jacke
<bj@sernet.de>
Sun, 16 Sep 2012 02:05:07 +0000
(
04:05
+0200)
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
lib/replace/poll.c
patch
|
blob
|
history
diff --git
a/lib/replace/poll.c
b/lib/replace/poll.c
index e41548dd39f5b9509def73e412ec0ef8f134a50c..95b2f883bf806125f7a5ca48aa1f88dcd19631be 100644
(file)
--- 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)