X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-poll.h;h=1d4c82afa5f8e09a1f56dd5afc3001a60b994800;hb=eae326c71c117db0c492fef7d18a221d6644f44e;hp=ffbe4d88c6bae7d96636e233b3bce8800beb7b8c;hpb=64f85a65b023522d3f34e9932e6a843e0ad8fc3b;p=mono.git diff --git a/mono/utils/mono-poll.h b/mono/utils/mono-poll.h index ffbe4d88c6b..1d4c82afa5f 100644 --- a/mono/utils/mono-poll.h +++ b/mono/utils/mono-poll.h @@ -2,9 +2,13 @@ #define MONO_POLL_H #include +#ifdef HAVE_SYS_TIME_H #include +#endif #include +#ifdef HAVE_UNISTD_H #include +#endif #ifdef HAVE_POLL #include @@ -20,7 +24,7 @@ typedef struct pollfd mono_pollfd; #else -#ifdef PLATFORM_WIN32 +#ifdef HOST_WIN32 #include #endif #define MONO_POLLIN 1