#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>
typedef void (*mph_sighandler_t)(int);
typedef struct Mono_Unix_UnixSignal_SignalInfo signal_info;
+#ifndef HOST_WIN32
static int count_handlers (int signum);
+#endif
void*
Mono_Posix_Stdlib_SIG_DFL (void)