From 359e7d20d0d278b13048d3b4022cffc9146ea2d9 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Thu, 17 Aug 2023 09:35:46 +0000 Subject: [PATCH] WIP: Need in CrashRecoveryContext.cpp too. --- .../apache2/llvm/autoconf/include/llvm/Config/config.h.in | 4 ++++ tools/llvm-lib/libLLVMSupport/Makefile | 1 + 2 files changed, 5 insertions(+) diff --git a/external/apache2/llvm/autoconf/include/llvm/Config/config.h.in b/external/apache2/llvm/autoconf/include/llvm/Config/config.h.in index 29b1f77d462e..9591c10389ab 100644 --- a/external/apache2/llvm/autoconf/include/llvm/Config/config.h.in +++ b/external/apache2/llvm/autoconf/include/llvm/Config/config.h.in @@ -7,6 +7,10 @@ #include #endif +#ifdef __cplusplus +#include +#endif + /* Exported configuration */ #include "llvm/Config/llvm-config.h" diff --git a/tools/llvm-lib/libLLVMSupport/Makefile b/tools/llvm-lib/libLLVMSupport/Makefile index ef5f43aba3ce..b0efeb46cef2 100644 --- a/tools/llvm-lib/libLLVMSupport/Makefile +++ b/tools/llvm-lib/libLLVMSupport/Makefile @@ -1,5 +1,6 @@ # $NetBSD: Makefile,v 1.2 2023/05/30 19:05:05 hgutch Exp $ CPPFLAGS.Signals.cpp+= -include llvm/Config/config.h +CPPFLAGS.CrashRecoveryContext.cpp+= -include llvm/Config/config.h .include