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

index 79966e2..e978c4a 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