diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-09-27 07:00:09 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-09-27 07:00:09 +1000 |
commit | 7c92a65a1d0feaa9712aa0542fe44455d621397a (patch) | |
tree | 1f5dfa29ad4b378484f5d9a15b609c993b43c351 /atomicio.c | |
parent | ed626b42cc4414235fc2181cc139362e5e054b04 (diff) | |
download | openssh-git-7c92a65a1d0feaa9712aa0542fe44455d621397a.tar.gz |
- (dtucker) [configure.ac atomicio.c] Fall back to <sys/poll.h> if we don't
have <poll.h> (eq QNX). From bacon at cs nyu edu.
Diffstat (limited to 'atomicio.c')
-rw-r--r-- | atomicio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -34,6 +34,10 @@ #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> |