summaryrefslogtreecommitdiff
path: root/python3/files/01-socketmodule-no-hstrerror.patch
blob: ccb7e7f99f254679d53a7e084ee22d45a70c827a (plain)
1
2
3
4
5
6
7
8
9
10
--- a/Modules/socketmodule.c	Tue Dec  6 20:05:27 2022
+++ b/Modules/socketmodule.c	Thu Feb  2 22:07:31 2023
@@ -232,6 +232,7 @@
 /* Solaris fails to define this variable at all. */
 #if (defined(__sun) && defined(__SVR4)) && !defined(INET_ADDRSTRLEN)
 #define INET_ADDRSTRLEN 16
+#undef HAVE_HSTRERROR
 #endif
 
 /* Generic includes */