diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-06-25 22:15:12 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-06-25 22:15:12 +1000 |
commit | febf0f5668f997c63210b3dbd50ce5443b0f6aea (patch) | |
tree | df7829b7c652ba79cd3d2a357dbf5a4b083de6da /atomicio.c | |
parent | dc4a779fbbefd662e1b0b4dd2417329826ff264f (diff) |
- (dtucker) [atomicio.c configure.ac openbsd-compat/Makefile.in
openbsd-compat/bsd-poll.{c,h} openbsd-compat/openbsd-compat.h]
Add an implementation of poll() built on top of select(2). Code from
OpenNTPD with changes suggested by djm. ok djm@
Diffstat (limited to 'atomicio.c')
-rw-r--r-- | atomicio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atomicio.c b/atomicio.c index afe3444c9..f32ff85ba 100644 --- a/atomicio.c +++ b/atomicio.c | |||
@@ -32,7 +32,9 @@ | |||
32 | #include <sys/uio.h> | 32 | #include <sys/uio.h> |
33 | 33 | ||
34 | #include <errno.h> | 34 | #include <errno.h> |
35 | #ifdef HAVE_POLL_H | ||
35 | #include <poll.h> | 36 | #include <poll.h> |
37 | #endif | ||
36 | #include <string.h> | 38 | #include <string.h> |
37 | #include <unistd.h> | 39 | #include <unistd.h> |
38 | 40 | ||