From 46ffe1da4cf7a42400a632a2b3e6a2c3e40cfe23 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 3 Oct 2018 17:39:05 +0200 Subject: [PATCH] squash! compat/poll: prepare for targeting Windows Vista We also need to make sure that we override those constants *after* `winsock2.h` has been `#include`d (otherwise we would not really override those constants). Signed-off-by: Johannes Schindelin --- compat/poll/poll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compat/poll/poll.c b/compat/poll/poll.c index 88f5c19c55..598da7342a 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c @@ -29,9 +29,6 @@ #include -/* Specification. */ -#include - #include #include #include @@ -55,6 +52,9 @@ # include #endif +/* Specification. */ +#include "poll.h" + #ifdef HAVE_SYS_IOCTL_H # include #endif