projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3707 from lateralusX/jlorenss/win-api-family-support-libmonoutils
[mono.git]
/
mono
/
utils
/
mono-poll.h
diff --git
a/mono/utils/mono-poll.h
b/mono/utils/mono-poll.h
index 835c36795a63269bb8aa022b97f236cd105d4e05..bedef4c8863d07e38382bc92b52feb5a87392bf0 100644
(file)
--- a/
mono/utils/mono-poll.h
+++ b/
mono/utils/mono-poll.h
@@
-13,7
+13,11
@@
#endif
#ifdef HAVE_POLL
+#ifdef HAVE_POLL_H
+#include <poll.h>
+#elif defined(HAVE_SYS_POLL_H)
#include <sys/poll.h>
+#endif
#define MONO_POLLIN POLLIN
#define MONO_POLLPRI POLLPRI