Skip to content

Commit 9197da5

Browse files
committed
Include stdint.h in zstd_jni for uintptr_t
macOS clang pulls stdint.h in transitively via stdlib.h, so the build was passing on darwin but failing on the manylinux2014 GCC that the linux-x86-64 and linux-aarch64 workflow jobs use. Add the explicit include so every supported toolchain compiles cleanly.
1 parent c783aec commit 9197da5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/main/c/share/zstd_jni.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
*/
3535

3636
#include <jni.h>
37+
#include <stdint.h>
3738
#include <stdlib.h>
3839
#include "zstd.h"
3940

0 commit comments

Comments
 (0)