Skip to content

Commit 47692de

Browse files
committed
Make curl compile with the latest win32 libcurl
1 parent 6be3e2d commit 47692de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/curl/curl.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#include "config.h"
2323
#endif
2424

25+
#ifdef PHP_WIN32
26+
#include <winsock2.h>
27+
#endif
28+
2529
#include "php.h"
2630

2731
#if HAVE_CURL
@@ -30,7 +34,6 @@
3034
#include <string.h>
3135

3236
#ifdef PHP_WIN32
33-
#include <winsock.h>
3437
#include <sys/types.h>
3538
#endif
3639

0 commit comments

Comments
 (0)