[xbuild] Fix test on windows.
[mono.git] / support / signal.c
index c92bf3c69d3f3679e44cf6286b78b9b905935aa4..abd76382f0bc5646fdef31b4e1060f083f26a28d 100644 (file)
 #ifndef HOST_WIN32
 #include <sys/time.h>
 #include <sys/types.h>
+#if defined(__APPLE__)
+#include "fakepoll.h"
+#else
 #include <poll.h>
+#endif
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>