From 569388e4afd4c1912c4bc837f4a448e90e9d2b5e Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Mon, 4 Jul 2022 13:44:51 +0200 Subject: [PATCH] LibHTTP: Include JsonObject.h in Job.cpp JsonArray.h does not #include the definition of JsonValue::serialize, as it lives in JsonObject.h. The macOS Clang target handles symbol visibility slightly differently (I couldn't figure out how exactly), so no visible instantiation ended up being created for the function, causing a link failure. --- Userland/Libraries/LibHTTP/Job.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibHTTP/Job.cpp b/Userland/Libraries/LibHTTP/Job.cpp index faa0f7e144..c7d2330e8b 100644 --- a/Userland/Libraries/LibHTTP/Job.cpp +++ b/Userland/Libraries/LibHTTP/Job.cpp @@ -6,7 +6,7 @@ */ #include -#include +#include #include #include #include