summaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2006-06-30 08:14:39 +0000
committerBodo Möller <bodo@openssl.org>2006-06-30 08:14:39 +0000
commit3df760b83a50191dab417661a51b480b0848fb79 (patch)
tree603b2740bb60b0310e262fb1e2bf7ae8d5af6bef /crypto/rand
parente34aa5a3b353e72ace92d0f2a0868de59acf9321 (diff)
use <poll.h> as by Single Unix Specification
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/rand_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c
index 79966e2b67..e978c4a930 100644
--- a/crypto/rand/rand_unix.c
+++ b/crypto/rand/rand_unix.c
@@ -125,8 +125,8 @@
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
-#if defined(OPENSSL_SYS_LINUX)
-# include <sys/poll.h>
+#if defined(OPENSSL_SYS_LINUX) /* should actually be available virtually everywhere */
+# include <poll.h>
#endif
#include <limits.h>
#ifndef FD_SETSIZE