[xbuild] Evaluate Import with MSBuildThisFile* properties set.
[mono.git] / support / serial.c
index 7968fbb30d059ea5eb844be5a9ade5d775df3d7c..a6ad955179205d6fcdd750c3a670402f297ae3f1 100644 (file)
@@ -9,9 +9,13 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <string.h>
+#include <errno.h>
+#if defined(__APPLE__)
+#include "fakepoll.h"
+#else
 #include <sys/poll.h>
+#endif
 #include <sys/ioctl.h>
-#include <errno.h>
 
 #include <glib.h>