summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_unix.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2006-06-30 08:14:50 +0000
committerBodo Möller <bodo@openssl.org>2006-06-30 08:14:50 +0000
commit5d7f15daf852bc3a6ca2b951971c6cb83e010a3a (patch)
tree7c951db1fa79bb70cdda9cf67891d1e9515a626a /crypto/rand/rand_unix.c
parentec67e3b7e4aaed482ad89c2b2e47d5cfe12ec2d7 (diff)
use <poll.h> as by Single Unix Specification
Diffstat (limited to 'crypto/rand/rand_unix.c')
-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 a753e666b7..6c2be5cb96 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