projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[xbuild] Don't report Imports ignored because of false conditions.
[mono.git]
/
support
/
serial.c
diff --git
a/support/serial.c
b/support/serial.c
index 7968fbb30d059ea5eb844be5a9ade5d775df3d7c..a6ad955179205d6fcdd750c3a670402f297ae3f1 100644
(file)
--- a/
support/serial.c
+++ b/
support/serial.c
@@
-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>