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 ebe203e commit ccb718bCopy full SHA for ccb718b
configure.ac
@@ -5075,10 +5075,14 @@ PY_CHECK_NETDB_FUNC([getprotobyname])
5075
5076
dnl PY_CHECK_SOCKET_FUNC(FUNCTION)
5077
AC_DEFUN([PY_CHECK_SOCKET_FUNC], [PY_CHECK_FUNC([$1], [
5078
+#ifdef _WIN32
5079
+#include <ws2tcpip.h>
5080
+#else
5081
#include <sys/types.h>
5082
#include <sys/socket.h>
5083
#include <netinet/in.h>
5084
#include <arpa/inet.h>
5085
+#endif
5086
])])
5087
5088
PY_CHECK_SOCKET_FUNC([inet_aton])
0 commit comments