Fix from HEAD.
[oweals/openssl.git] / crypto / rand / rand_unix.c
index a753e666b7938dc10e011b06408970eff3299296..6c2be5cb966dfcdbb3618939279fe110e8961211 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