[compiler-rt] [compiler-rt] Add missing includes (PR #228954)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 4 16:35:51 PDT 2026
https://github.com/rdong8 created https://github.com/llvm/llvm-project/pull/228954
Newer libc++ prunes some includes that were previously being brought in transitively
>From 8f872d710dcc2fd074118c6be0b91ea37bbe74d9 Mon Sep 17 00:00:00 2001
From: Richard Dong <rdong8 at protonmail.com>
Date: Sun, 4 Oct 2026 20:36:49 +0000
Subject: [PATCH] [compiler-rt][orc] Add missing <cstdio> and <cstdlib>
includes
Add explicit <cstdio> and <cstdlib> headers to compiler-rt/lib/orc/error.h.
---
compiler-rt/lib/orc/error.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/compiler-rt/lib/orc/error.h b/compiler-rt/lib/orc/error.h
index 28035095b692a..4953f69223457 100644
--- a/compiler-rt/lib/orc/error.h
+++ b/compiler-rt/lib/orc/error.h
@@ -14,6 +14,8 @@
#include "stl_extras.h"
#include <cassert>
+#include <cstdio>
+#include <cstdlib>
#include <memory>
#include <string>
#include <type_traits>
More information about the llvm-commits
mailing list