1From 200f71ea8c0756594ac7e079ccc686d9a20cea5c Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Mon, 23 Nov 2020 15:32:58 -0800 4Subject: [PATCH] backtrace: Always include stdint.h 5 6in OE we will always have system headers which supports C99/stdint.h 7 8Upstream-Status: Inappropriate [Unless upstream drops legacy] 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10--- 11 3rdparty/libbacktrace/backtrace.h | 16 ---------------- 12 1 file changed, 16 deletions(-) 13 14diff --git a/3rdparty/libbacktrace/backtrace.h b/3rdparty/libbacktrace/backtrace.h 15index 14863cf..d0ac38f 100644 16--- a/3rdparty/libbacktrace/backtrace.h 17+++ b/3rdparty/libbacktrace/backtrace.h 18@@ -36,24 +36,8 @@ POSSIBILITY OF SUCH DAMAGE. */ 19 #include <stddef.h> 20 #include <stdio.h> 21 22-/* We want to get a definition for uintptr_t, but we still care about 23- systems that don't have <stdint.h>. */ 24-#if defined(__GLIBC__) && __GLIBC__ >= 2 25- 26-#include <stdint.h> 27- 28-#elif defined(HAVE_STDINT_H) 29- 30 #include <stdint.h> 31 32-#else 33- 34-/* Systems that don't have <stdint.h> must provide gstdint.h, e.g., 35- from GCC_HEADER_STDINT in configure.ac. */ 36-#include "gstdint.h" 37- 38-#endif 39- 40 #ifdef __cplusplus 41 extern "C" { 42 #endif 43