diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-05-08 18:09:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-05-08 19:34:09 -0400 |
commit | c44de06c766906a7d90f5dcb99877caafad241af (patch) | |
tree | fbf9c0a0ce8f9181a51246aacdd84270f37a6b85 /arc4random.c | |
parent | f89168e7eafb40bc68e17b8fa3323c23343e400a (diff) | |
download | libevent-c44de06c766906a7d90f5dcb99877caafad241af.tar.gz |
Numerous opensolaris compilation fixes
For future note, opensolaris doesn't have sys/sysctl.h, doesn't like
comparing iov_buf to a chain_space_ptr without a cast, and is (predictably)
unforgiving of dumb syntax errors.
Also, we had accidentally broken the devpoll backend test in configure.in
Diffstat (limited to 'arc4random.c')
-rw-r--r-- | arc4random.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arc4random.c b/arc4random.c index 21334b47..6171e999 100644 --- a/arc4random.c +++ b/arc4random.c @@ -57,8 +57,10 @@ #include <unistd.h> #include <sys/param.h> #include <sys/time.h> +#ifdef _EVENT_HAVE_SYS_SYSCTL_H #include <sys/sysctl.h> #endif +#endif #include <limits.h> #include <stdlib.h> #include <string.h> |