mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 09:14:21 +03:00
edf3aee4df
This now requires `--host` and `--with-build-python` to be passed to the configure script when cross compiling; the former we simply do like in many other package.sh scripts as well, the latter we point to `python3`, which is expected to match the port's version anyway.
25 lines
834 B
Diff
25 lines
834 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Linus Groh <mail@linusgroh.de>
|
|
Date: Fri, 14 Jan 2022 23:36:28 +0330
|
|
Subject: [PATCH] Include `sys/uio.h` in `socketmodule.c`
|
|
|
|
This is to ensure that `struct iovec` is defined, which is required by
|
|
the `socket` module.
|
|
---
|
|
Modules/socketmodule.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
|
|
index 14af496a45f4788dc55ec3d959c2de45147725bc..9dcad434af405f0a6f6233f36ef1e1062086050e 100644
|
|
--- a/Modules/socketmodule.c
|
|
+++ b/Modules/socketmodule.c
|
|
@@ -175,7 +175,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
|
|
# undef HAVE_GETHOSTBYNAME_R_6_ARG
|
|
#endif
|
|
|
|
-#if defined(__OpenBSD__)
|
|
+#if defined(__OpenBSD__) || defined(__serenity__)
|
|
# include <sys/uio.h>
|
|
#endif
|
|
|