diff --git a/binding.gyp b/binding.gyp index 8882267..62f39e7 100644 --- a/binding.gyp +++ b/binding.gyp @@ -40,8 +40,9 @@ "HAVE_CDS", "_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION", ], - "cflags!": [ "-fno-rtti", "-fno-exceptions" ], - "cflags_cc!": [ "-fno-rtti", "-fno-exceptions" ], + "cflags!": [ "-fno-rtti", "-fno-exceptions", "-include cstdint.h" ], + "cflags_cc": [ "-include", "cstdint.h" ], + "cflags_cc!": [ "-fno-rtti", "-fno-exceptions", "-include", "cstdint.h" ], "xcode_settings": { "GCC_ENABLE_CPP_RTTI": "YES", "GCC_ENABLE_CPP_EXCEPTIONS": "YES",