use <poll.h> as by Single Unix Specification
authorBodo Möller <bodo@openssl.org>
Fri, 30 Jun 2006 08:15:13 +0000 (08:15 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 30 Jun 2006 08:15:13 +0000 (08:15 +0000)
crypto/rand/rand_unix.c

index 89e65abe9d45d0837edc4140e2818dbfe76d1d48..603139d963dfa909f5842c57ede8ad44bc01c359 100644 (file)
 #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