contrib/curl: Import fix for pollfd structure conflict

This fixes conflict of pollfd structure declaration with winsock2.h header file
This commit is contained in:
Biswapriyo Nath 2021-07-29 23:50:55 +05:30
parent 6221a49b7e
commit 0884f50742

View File

@ -36,7 +36,8 @@
#if !defined(HAVE_STRUCT_POLLFD) && \
!defined(HAVE_SYS_POLL_H) && \
!defined(HAVE_POLL_H)
!defined(HAVE_POLL_H) && \
!defined(POLLIN)
#define POLLIN 0x01
#define POLLPRI 0x02