X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-poll.h;h=835c36795a63269bb8aa022b97f236cd105d4e05;hb=5df3fd4797d5529466d0507d18f1ae312c082b4f;hp=ffbe4d88c6bae7d96636e233b3bce8800beb7b8c;hpb=538d3bb80572334c18ae117ea7703406a4a22872;p=mono.git diff --git a/mono/utils/mono-poll.h b/mono/utils/mono-poll.h index ffbe4d88c6b..835c36795a6 100644 --- a/mono/utils/mono-poll.h +++ b/mono/utils/mono-poll.h @@ -1,10 +1,16 @@ #ifndef MONO_POLL_H #define MONO_POLL_H +#include + #include +#ifdef HAVE_SYS_TIME_H #include +#endif #include +#ifdef HAVE_UNISTD_H #include +#endif #ifdef HAVE_POLL #include @@ -20,7 +26,7 @@ typedef struct pollfd mono_pollfd; #else -#ifdef PLATFORM_WIN32 +#ifdef HOST_WIN32 #include #endif #define MONO_POLLIN 1 @@ -38,7 +44,7 @@ typedef struct { #endif -int mono_poll (mono_pollfd *ufds, unsigned int nfds, int timeout); +MONO_API int mono_poll (mono_pollfd *ufds, unsigned int nfds, int timeout); #endif /* MONO_POLL_H */