diff options
author | Damien Miller <djm@mindrot.org> | 2014-07-03 13:29:50 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-07-03 13:29:50 +1000 |
commit | 9eb4cd9a32c32d40d36450b68ed93badc6a94c68 (patch) | |
tree | 294747882eff0a8cfcf9277c741c693dae6d8743 | |
parent | 8da0fa24934501909408327298097b1629b89eaa (diff) |
- (djm) [monitor_fdpass.c] Use sys/poll.h if poll.h doesn't exist;
bz#2237
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | monitor_fdpass.c | 11 |
2 files changed, 10 insertions, 3 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20140703 | 1 | 20140703 |
2 | - (djm) [digest-openssl.c configure.ac] Disable RIPEMD160 if libcrypto | 2 | - (djm) [digest-openssl.c configure.ac] Disable RIPEMD160 if libcrypto |
3 | doesn't support it. | 3 | doesn't support it. |
4 | - (djm) [monitor_fdpass.c] Use sys/poll.h if poll.h doesn't exist; | ||
5 | bz#2237 | ||
4 | 6 | ||
5 | 20140702 | 7 | 20140702 |
6 | - OpenBSD CVS Sync | 8 | - OpenBSD CVS Sync |
diff --git a/monitor_fdpass.c b/monitor_fdpass.c index 7eb6f5c6e..100fa5660 100644 --- a/monitor_fdpass.c +++ b/monitor_fdpass.c | |||
@@ -34,12 +34,17 @@ | |||
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #include <errno.h> | 36 | #include <errno.h> |
37 | #ifdef HAVE_POLL_H | ||
38 | #include <poll.h> | ||
39 | #endif | ||
40 | #include <string.h> | 37 | #include <string.h> |
41 | #include <stdarg.h> | 38 | #include <stdarg.h> |
42 | 39 | ||
40 | #ifdef HAVE_POLL_H | ||
41 | # include <poll.h> | ||
42 | #else | ||
43 | # ifdef HAVE_SYS_POLL_H | ||
44 | # include <sys/poll.h> | ||
45 | # endif | ||
46 | #endif | ||
47 | |||
43 | #include "log.h" | 48 | #include "log.h" |
44 | #include "monitor_fdpass.h" | 49 | #include "monitor_fdpass.h" |
45 | 50 | ||