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) |
- (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
diff --git a/atomicio.c b/atomicio.c index 62ee40282..575bf8900 100644 --- a/atomicio.c +++ b/atomicio.c | |||
@@ -34,6 +34,10 @@ | |||
34 | #include <errno.h> | 34 | #include <errno.h> |
35 | #ifdef HAVE_POLL_H | 35 | #ifdef HAVE_POLL_H |
36 | #include <poll.h> | 36 | #include <poll.h> |
37 | #else | ||
38 | # ifdef HAVE_SYS_POLL_H | ||
39 | # include <sys/poll.h> | ||
40 | # endif | ||
37 | #endif | 41 | #endif |
38 | #include <string.h> | 42 | #include <string.h> |
39 | #include <unistd.h> | 43 | #include <unistd.h> |