ladybird/Ports/python3/patches/include-sys-uio.patch
2021-10-04 21:46:25 +01:00

12 lines
330 B
Diff

--- Python-3.10.0/Modules/socketmodule.c 2021-09-09 01:14:41.120232921 +0800
+++ Python-3.10.0/Modules/socketmodule.c 2021-08-03 03:53:59.000000000 +0800
@@ -168,7 +168,7 @@
# undef HAVE_GETHOSTBYNAME_R_6_ARG
#endif
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__serenity__)
# include <sys/uio.h>
#endif