summaryrefslogtreecommitdiffstats
path: root/monitor_fdpass.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-13 00:54:46 +0100
committerDarren Tucker <dtucker@zip.com.au>2010-01-13 00:54:46 +0100
commita8f20cff82ec514df8aa60bc5248dcad6f90066c (patch)
treea275c3b70435eafa2633d94281ec3783d6af37ef /monitor_fdpass.c
parent - dtucker@cvs.openbsd.org 2010/01/12 08:33:17 (diff)
downloadopenssh-a8f20cff82ec514df8aa60bc5248dcad6f90066c.tar.xz
openssh-a8f20cff82ec514df8aa60bc5248dcad6f90066c.zip
- (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 56d3afdf3..7eb6f5c6e 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>