diff options
Diffstat (limited to 'src/util/posix.h')
-rw-r--r-- | src/util/posix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/posix.h b/src/util/posix.h index f516bb3cc..74707453a 100644 --- a/src/util/posix.h +++ b/src/util/posix.h @@ -198,6 +198,9 @@ extern const char *p_gai_strerror(int ret); #ifdef GIT_IO_POLL # include <poll.h> # define p_poll poll +#elif GIT_IO_WSAPOLL +# include <winsock2.h> +# define p_poll WSAPoll #else # define POLLIN 0x01 # define POLLPRI 0x02 |