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 79966e2b67a1722779771c3b8e9df6ce8dc64d42..e978c4a93092c7422ccf7c4f04c78b6739de05b8 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