summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker <dtucker>2008-02-29 04:07:01 +0000
committerdtucker <dtucker>2008-02-29 04:07:01 +0000
commit7a538507d5771bb2a491b6f8dadd6ee0cba7da4b (patch)
tree8844ac97de45ac48462ea01f2eb7e8aae6d8cece
parente8276c18e37c8c636da34a7476b796d520bd0a86 (diff)
downloadopenssh-7a538507d5771bb2a491b6f8dadd6ee0cba7da4b.tar.gz
- (dtucker) [scp.c] Include sys/poll.h inside HAVE_SYS_POLL_H.
-rw-r--r--ChangeLog3
-rw-r--r--scp.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c77d5d8f..f387498e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
configure (and there's not much point, as openssh won't work without it)
so HAVE_SELECT is not defined and the poll(2) compat code doesn't get
built in. Remove HAVE_SELECT so we can build on platforms without poll.
+ - (dtucker) [scp.c] Include sys/poll.h inside HAVE_SYS_POLL_H.
20080228
- (dtucker) [configure.ac] Add -fstack-protector to LDFLAGS too, fixes
@@ -3650,4 +3651,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
-$Id: ChangeLog,v 1.4847 2008/02/29 02:57:47 dtucker Exp $
+$Id: ChangeLog,v 1.4848 2008/02/29 04:07:01 dtucker Exp $
diff --git a/scp.c b/scp.c
index b35a7dd6..1734da8f 100644
--- a/scp.c
+++ b/scp.c
@@ -78,7 +78,9 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
+#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
+#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif