summaryrefslogtreecommitdiff
path: root/monitor_fdpass.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-13 10:54:46 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-13 10:54:46 +1100
commita8f20cff82ec514df8aa60bc5248dcad6f90066c (patch)
treea275c3b70435eafa2633d94281ec3783d6af37ef /monitor_fdpass.c
parent09aa4c000e16cdb23628d563920f48294997945e (diff)
- (dtucker) [monitor_fdpass.c] Wrap poll.h include in ifdefs.
Diffstat (limited to 'monitor_fdpass.c')
-rw-r--r--monitor_fdpass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor_fdpass.c b/monitor_fdpass.c
index 56d3afdf..7eb6f5c6 100644
--- a/monitor_fdpass.c
+++ b/monitor_fdpass.c
@@ -34,7 +34,9 @@
#endif
#include <errno.h>
+#ifdef HAVE_POLL_H
#include <poll.h>
+#endif
#include <string.h>
#include <stdarg.h>