summaryrefslogtreecommitdiff
path: root/external/apache2
diff options
context:
space:
mode:
authorhgutch <hgutch@NetBSD.org>2023-05-30 19:05:04 +0000
committerhgutch <hgutch@NetBSD.org>2023-05-30 19:05:04 +0000
commit75dc982d29ff88c1fe5fb2ede34af8be80a234be (patch)
tree6e91be66d2436d493c9aec76bd5da554e5c373b0 /external/apache2
parentbaa64e5d571ee54522a34039000ab2085c156bc2 (diff)
Fix LLVM build with host gcc 13
Building LLVM with a host gcc 13 fails and suggests including <cstdint> in external/apache2/llvm/dist/llvm/include/llvm/Support/Signals.h . Instead of this, joerg@ suggested not modifying the llvm vendor branch but instead working around this in our LLVM build infrastructure.
Diffstat (limited to 'external/apache2')
-rw-r--r--external/apache2/llvm/autoconf/include/llvm/Config/config.h.in4
1 files changed, 4 insertions, 0 deletions
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 238a05a706c..29b1f77d462 100644
--- a/external/apache2/llvm/autoconf/include/llvm/Config/config.h.in
+++ b/external/apache2/llvm/autoconf/include/llvm/Config/config.h.in
@@ -3,6 +3,10 @@
#ifndef CONFIG_H
#define CONFIG_H
+#ifdef __cplusplus
+#include <cstdint>
+#endif
+
/* Exported configuration */
#include "llvm/Config/llvm-config.h"