use <poll.h> as by Single Unix Specification
authorBodo Möller <bodo@openssl.org>
Fri, 30 Jun 2006 08:14:50 +0000 (08:14 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 30 Jun 2006 08:14:50 +0000 (08:14 +0000)
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