diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2022-07-04 13:44:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-04 21:46:02 +0200 |
commit | 569388e4afd4c1912c4bc837f4a448e90e9d2b5e (patch) | |
tree | e046129eccc3924aaa8b57dd5e3d4f57d9f36aad /Userland | |
parent | e15d6125b21bcbf0d05019f124f7c1bbf529fa51 (diff) | |
download | serenity-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.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibHTTP/Job.cpp | 2 |
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> |