Fixup the setsockopt usage message; missing OPTVAL.
[p5sagit/p5-mst-13.2.git] / ext / IO / poll.h
index c5cdd7f..634bcdd 100644 (file)
 
 #define EMULATE_POLL_WITH_SELECT
 
+#ifdef poll
+# undef poll
+#endif
+#define poll Perl_my_poll
+
 typedef struct pollfd {
     int fd;
     short events;
@@ -41,7 +46,7 @@ typedef struct pollfd {
 #define        POLLHUP         0x0010
 #define        POLLNVAL        0x0020
 
-int poll _((struct pollfd *, unsigned long, int));
+int poll (struct pollfd *, unsigned long, int);
 
 #ifndef HAS_POLL
 #  define HAS_POLL