From 03e4e9d2cab4f1a61d3f589785641a73dff027c5 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Thu, 8 Apr 2021 16:26:44 +0100 Subject: [PATCH] libbacktrace: Explictly set HAVE_STDINT_H. Fixes https://github.com/apitrace/apitrace/issues/727 --- thirdparty/libbacktrace/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt index efbc4297..160d3301 100644 --- a/thirdparty/libbacktrace/CMakeLists.txt +++ b/thirdparty/libbacktrace/CMakeLists.txt @@ -147,6 +147,8 @@ if (NOT HAVE_DWARF_H AND NOT HAVE_LIBDWARF_DWARF_H) message (STATUS "libdwarf not found. Disabling Backtrace support.") endif () +check_include_file ("stdint.h" HAVE_STDINT_H) + configure_file (backtrace-supported.h.in backtrace-supported.h) configure_file (config.h.in.cmake config.h)