X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-poll.h;h=bedef4c8863d07e38382bc92b52feb5a87392bf0;hb=390697c8b2e2faf225440dc2b4c8ba73eb4dd85c;hp=835c36795a63269bb8aa022b97f236cd105d4e05;hpb=56a02b9285b1e66fc1b007e2ed5bc181c8cb497b;p=mono.git diff --git a/mono/utils/mono-poll.h b/mono/utils/mono-poll.h index 835c36795a6..bedef4c8863 100644 --- 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 +#elif defined(HAVE_SYS_POLL_H) #include +#endif #define MONO_POLLIN POLLIN #define MONO_POLLPRI POLLPRI