ws2_32: Include stdint.h since we use UINT32_MAX now.

Gerald Pfeifer gerald at pfeifer.com
Thu Apr 30 17:48:13 CDT 2015


I believe Jacek's changes earlier this week broke FreeBSD and
others that do not define UINT32_MAX unless <stdint.h> is included
explicitly.

This addresses this.  Tested on FreeBSD 10.1/i386.

Gerald
---
 dlls/ws2_32/socket.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 52b5394..f572c7f 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -31,6 +31,7 @@
 
 #include <stdarg.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <string.h>
 #include <sys/types.h>
 #ifdef HAVE_SYS_IPC_H
-- 
2.3.5



More information about the wine-patches mailing list