2008-11-17 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / utils / mono-poll.h
index ffbe4d88c6bae7d96636e233b3bce8800beb7b8c..41fb6c12fc847e33b60ba69ced4bfe103ec11cb3 100644 (file)
@@ -2,9 +2,13 @@
 #define MONO_POLL_H
 
 #include <config.h>
+#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
 #include <sys/types.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 
 #ifdef HAVE_POLL
 #include <sys/poll.h>