summaryrefslogtreecommitdiff
path: root/Ports/python3/patches/include-sys-uio.patch
blob: 841027d37d283a7732e4abefe12b0d177c74a455 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Python-3.10.0rc1/Modules/socketmodule.c	2021-09-09 01:14:41.120232921 +0800
+++ Python-3.10.0rc1/Modules/socketmodule.c	2021-08-03 03:53:59.000000000 +0800
@@ -171,7 +171,7 @@
 # undef HAVE_GETHOSTBYNAME_R_6_ARG
 #endif
 
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__serenity__)
 # include <sys/uio.h>
 #endif