mirror of
https://github.com/git/git.git
synced 2026-01-17 22:26:32 +00:00
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 <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user