From 8bc5864f010390906e62f9d9961073b381e4215e Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Tue, 11 Feb 2025 14:42:31 +0100 Subject: [PATCH] Fix building on Ubuntu 24.04 --- binding.gyp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binding.gyp b/binding.gyp index 8882267..bf09668 100644 --- a/binding.gyp +++ b/binding.gyp @@ -41,7 +41,8 @@ "_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION", ], "cflags!": [ "-fno-rtti", "-fno-exceptions" ], - "cflags_cc!": [ "-fno-rtti", "-fno-exceptions" ], + "cflags_cc": [ "-include stdint.h" ], + "cflags_cc!": [ "-fno-rtti", "-fno-exceptions", "-include stdint.h" ], "xcode_settings": { "GCC_ENABLE_CPP_RTTI": "YES", "GCC_ENABLE_CPP_EXCEPTIONS": "YES",