]> andersk Git - openssh.git/blobdiff - scp.c
- (tim) [scp.c] Use poll.h if available, fall back to sys/poll.h if not. Patch
[openssh.git] / scp.c
diff --git a/scp.c b/scp.c
index 1734da8f4adb4d09e7c1f6074457a20a2d1238cb..c047864aa9c76f478fe6676c6dc6ef97f026b3ff 100644 (file)
--- a/scp.c
+++ b/scp.c
 #ifdef HAVE_SYS_STAT_H
 # include <sys/stat.h>
 #endif
-#ifdef HAVE_SYS_POLL_H
-# include <sys/poll.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
+#else
+# ifdef HAVE_SYS_POLL_H
+#  include <sys/poll.h>
+# endif
 #endif
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
This page took 0.05657 seconds and 4 git commands to generate.