summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2022-07-04 13:44:51 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-04 21:46:02 +0200
commit569388e4afd4c1912c4bc837f4a448e90e9d2b5e (patch)
treee046129eccc3924aaa8b57dd5e3d4f57d9f36aad
parente15d6125b21bcbf0d05019f124f7c1bbf529fa51 (diff)
downloadserenity-569388e4afd4c1912c4bc837f4a448e90e9d2b5e.zip
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.
-rw-r--r--Userland/Libraries/LibHTTP/Job.cpp2
1 files changed, 1 insertions, 1 deletions
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 <AK/Debug.h>
-#include <AK/JsonArray.h>
+#include <AK/JsonObject.h>
#include <LibCompress/Brotli.h>
#include <LibCompress/Gzip.h>
#include <LibCompress/Zlib.h>