about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/system.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index 7fc4a7e65..a57e67fb6 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -300,6 +300,15 @@ struct timezone {
 # include <sys/socket.h>
 #endif
 
+#if defined(__APPLE__) && defined(HAVE_SELECT)
+/*
+ * Prefer select() to poll() on MacOS X since poll() is known
+ * to be problematic in 10.4
+ */
+#undef HAVE_POLL
+#undef HAVE_POLL_H
+#endif
+
 #ifdef HAVE_SYS_FILIO_H
 # include <sys/filio.h>
 #endif