[Mono.Options] Fix messages in tests that changed after bf66c00bc7379c71de1669799a180...
[mono.git] / support / signal.c
index 8f16106f59f47b55a88d86d4a43510462c007154..28146c02611a82acbc253cd4b87f8aaa4ca8db4a 100644 (file)
 #ifndef HOST_WIN32
 #include <sys/time.h>
 #include <sys/types.h>
-#if defined(__APPLE__)
-#include "fakepoll.h"
-#else
+#if defined(HAVE_POLL_H)
 #include <poll.h>
+#elif defined(HAVE_SYS_POLL_H)
+#include <sys/poll.h>
 #endif
 #include <unistd.h>
 #include <stdlib.h>