From 0884f50742a5621781f3f48e80cd86d111b2ae59 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 29 Jul 2021 23:50:55 +0530 Subject: [PATCH] contrib/curl: Import fix for pollfd structure conflict This fixes conflict of pollfd structure declaration with winsock2.h header file --- contrib/curl/lib/select.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/curl/lib/select.h b/contrib/curl/lib/select.h index e247bd9d..c0b450f3 100644 --- a/contrib/curl/lib/select.h +++ b/contrib/curl/lib/select.h @@ -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