Merge branch 'js/mingw-wants-vista-or-above'
[gitweb.git] / compat / poll / poll.c
index 7ed3fbbea13c994467280ed3e981ae9f37f15c09..ad5dcde439d3db239c29cda25d30e6b3a847a861 100644 (file)
@@ -29,9 +29,6 @@
 
 #include <sys/types.h>
 
-/* Specification.  */
-#include <poll.h>
-
 #include <errno.h>
 #include <limits.h>
 #include <assert.h>
@@ -55,6 +52,9 @@
 # include <unistd.h>
 #endif
 
+/* Specification.  */
+#include "poll.h"
+
 #ifdef HAVE_SYS_IOCTL_H
 # include <sys/ioctl.h>
 #endif