This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
For TSA we want 4 or later clang, not just later.
[perl5.git] / dist / IO / poll.h
index 634bcdd..08de250 100644 (file)
@@ -12,6 +12,8 @@
 
 #if (defined(HAS_POLL) && defined(I_POLL)) || defined(POLLWRBAND)
 #  include <poll.h>
+#elif (defined(HAS_POLL) && defined(I_SYS_POLL))
+#  include <sys/poll.h>
 #else
 #ifdef HAS_SELECT