Skip to content

Commit a8c094c

Browse files
committed
Add arrow patch, to fix inclusion of emscripten.h within extern C in xxhash.
1 parent cd42c15 commit a8c094c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ build/docker_ci_image:
435435

436436
patch_duckdb:
437437
find patches/duckdb/* -type f -name '*.patch' -print0 | xargs -0 cat | patch -p1 --forward -d submodules/duckdb
438+
find patches/arrow/* -type f -name '*.patch' -print0 | xargs -0 cat | patch -p1 --forward -d submodules/arrow
438439

439440
submodules:
440441
git submodule update --init --recursive
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/cpp/src/arrow/util/hashing.h b/cpp/src/arrow/util/hashing.h
2+
index 2de9f41532..1a7803d2d8 100644
3+
--- a/cpp/src/arrow/util/hashing.h
4+
+++ b/cpp/src/arrow/util/hashing.h
5+
@@ -31,6 +31,10 @@
6+
#include <utility>
7+
#include <vector>
8+
9+
+#ifdef EMSCRIPTEN
10+
+#include <emscripten.h>
11+
+#endif
12+
+
13+
#include "arrow/array/builder_binary.h"
14+
#include "arrow/buffer_builder.h"
15+
#include "arrow/result.h"

0 commit comments

Comments
 (0)