guix-mirrors/gnu/packages/patches/llvm-10-missing-include.patch
Andreas Enge 299794d028
gnu: llvm: Fix build with gcc@14.
* gnu/packages/patches/llvm-10-missing-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/llvm.scm (llvm-10, llvm-11)[origin]: Apply patch.

Co-authored-by: tobtoht
Change-Id: Id5f7aac3c2dc1193adc47b7472534c0269a4255f
2025-07-18 20:17:53 +02:00

14 lines
400 B
Diff

Provided by tobtoht, see https://codeberg.org/guix/guix/issues/1234#issuecomment-5838284
diff --git a/include/llvm/Support/Signals.h b/include/llvm/Support/Signals.h
index e0a18e72..c66ea8b3 100644
--- a/include/llvm/Support/Signals.h
+++ b/include/llvm/Support/Signals.h
@@ -15,6 +15,7 @@
#define LLVM_SUPPORT_SIGNALS_H
#include <string>
+#include <cstdint>
namespace llvm {
class StringRef;