]> andersk Git - openssh.git/commitdiff
- (dtucker) [configure.ac atomicio.c] Fall back to <sys/poll.h> if we don't
authordtucker <dtucker>
Wed, 26 Sep 2007 21:00:09 +0000 (21:00 +0000)
committerdtucker <dtucker>
Wed, 26 Sep 2007 21:00:09 +0000 (21:00 +0000)
   have <poll.h> (eq QNX).  From bacon at cs nyu edu.

ChangeLog
atomicio.c
configure.ac

index 59b91f1916e997a55153c73fd6cef721459d0830..41ed1dbcd4915154ee0e13d2e2acd93387ddf89a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20070927
+ - (dtucker) [configure.ac atomicio.c] Fall back to including <sys/poll.h> if
+   we don't have <poll.h> (eq QNX).  From bacon at cs nyu edu.
+
 20070921
  - (djm) [atomicio.c] Fix spin avoidance for platforms that define
    EWOULDBLOCK; patch from ben AT psc.edu
index 62ee40282d7233aca67b8d903a1eb5ee1430e068..575bf8900ee39e9e3cb89061934b659bd87b52d6 100644 (file)
 #include <errno.h>
 #ifdef HAVE_POLL_H
 #include <poll.h>
+#else
+# ifdef HAVE_SYS_POLL_H
+#  include <sys/poll.h>
+# endif
 #endif
 #include <string.h>
 #include <unistd.h>
index af0fac5576d6fe1b6957588fb2b91e34be7f63df..f57da71baed330f36cb5dea6a15d8d3cb272000e 100644 (file)
@@ -223,6 +223,7 @@ AC_CHECK_HEADERS( \
        sys/dir.h \
        sys/mman.h \
        sys/ndir.h \
+       sys/poll.h \
        sys/prctl.h \
        sys/pstat.h \
        sys/select.h \
This page took 1.378398 seconds and 5 git commands to generate.