blob: b94984f33f54f0292d8e77f35882c8e7488ffb5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From e34e6364ce0816b29a52b27873bd0153109e4cc2 Mon Sep 17 00:00:00 2001
From: Yuriy Chernyshov <[email protected]>
Date: Wed, 10 Sep 2025 14:04:59 +0200
Subject: [PATCH] Add missing #include <cstdlib>
std::realloc is declared there
---
flang/include/flang/Runtime/freestanding-tools.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/flang/include/flang/Runtime/freestanding-tools.h b/flang/include/flang/Runtime/freestanding-tools.h
index 6753b7a24ebe1..7ef7cc74f213b 100644
--- a/flang/include/flang/Runtime/freestanding-tools.h
+++ b/flang/include/flang/Runtime/freestanding-tools.h
@@ -13,6 +13,7 @@
#include "flang/Runtime/c-or-cpp.h"
#include <algorithm>
#include <cctype>
+#include <cstdlib>
#include <cstring>
// The file defines a set of utilities/classes that might be
|