MINGW-packages/mingw-w64-python-pyzmq/002-mingw-win-compat.patch
2023-08-09 20:38:18 +05:30

13 lines
371 B
Diff

diff --git a/zmq/utils/zmq_compat.h b/zmq/utils/zmq_compat.h
index b43c201..502800b 100644
--- a/zmq/utils/zmq_compat.h
+++ b/zmq/utils/zmq_compat.h
@@ -29,6 +29,7 @@
#if defined(_MSC_VER) && _MSC_VER <= 1400
#define ZMQ_FD_T UINT_PTR
#else
+ #include <winsock2.h>
#define ZMQ_FD_T SOCKET
#endif
#else