Skip to content

Commit

Permalink
musl v8: add missing #include <string.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jul 24, 2023
1 parent 0a1bd5e commit 8c577a6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion patches/musl/pdfium.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/build_overrides/BUILDCONFIG.gn b/build_overrides/BUILDCONFIG.gn
index 768fe60e0..51329f704 100644
index 2b9bbd6..a7f3b6e 100644
--- a/build_overrides/BUILDCONFIG.gn
+++ b/build_overrides/BUILDCONFIG.gn
@@ -139,6 +139,9 @@ declare_args() {
Expand All @@ -23,3 +23,15 @@ index 768fe60e0..51329f704 100644
_default_toolchain = "//build/toolchain/linux:clang_$target_cpu"
} else {
_default_toolchain = "//build/toolchain/linux:$target_cpu"
diff --git a/core/fxcodec/gif/cfx_gifcontext.cpp b/core/fxcodec/gif/cfx_gifcontext.cpp
index e7fc432..9811759 100644
--- a/core/fxcodec/gif/cfx_gifcontext.cpp
+++ b/core/fxcodec/gif/cfx_gifcontext.cpp
@@ -7,6 +7,7 @@
#include "core/fxcodec/gif/cfx_gifcontext.h"

#include <stdint.h>
+#include <string.h>

#include <algorithm>
#include <iterator>

0 comments on commit 8c577a6

Please sign in to comment.