Skip to content

Commit 5dc0242

Browse files
committed
Fix building on Ubuntu 24.04
1 parent f854c3f commit 5dc0242

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

binding.gyp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@
4040
"HAVE_CDS",
4141
"_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION",
4242
],
43-
"cflags!": [ "-fno-rtti", "-fno-exceptions" ],
44-
"cflags_cc!": [ "-fno-rtti", "-fno-exceptions" ],
43+
"cflags!": [ "-fno-rtti", "-fno-exceptions", "-include cstdint.h" ],
44+
"cflags_cc": [ "-include", "cstdint.h" ],
45+
"cflags_cc!": [ "-fno-rtti", "-fno-exceptions", "-include", "cstdint.h" ],
4546
"xcode_settings": {
4647
"GCC_ENABLE_CPP_RTTI": "YES",
4748
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",

0 commit comments

Comments
 (0)