We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f714542 commit 3e21c4cCopy full SHA for 3e21c4c
configure.ac
@@ -5079,10 +5079,14 @@ PY_CHECK_NETDB_FUNC([getprotobyname])
5079
5080
dnl PY_CHECK_SOCKET_FUNC(FUNCTION)
5081
AC_DEFUN([PY_CHECK_SOCKET_FUNC], [PY_CHECK_FUNC([$1], [
5082
+#ifdef _WIN32
5083
+#include <ws2tcpip.h>
5084
+#else
5085
#include <sys/types.h>
5086
#include <sys/socket.h>
5087
#include <netinet/in.h>
5088
#include <arpa/inet.h>
5089
+#endif
5090
])])
5091
5092
PY_CHECK_SOCKET_FUNC([inet_aton])
0 commit comments