Skip to content

Commit e34e636

Browse files
Add missing #include <cstdlib>
std::realloc is declared there
1 parent 3327a4c commit e34e636

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/include/flang/Runtime/freestanding-tools.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "flang/Runtime/c-or-cpp.h"
1414
#include <algorithm>
1515
#include <cctype>
16+
#include <cstdlib>
1617
#include <cstring>
1718

1819
// The file defines a set of utilities/classes that might be

0 commit comments

Comments
 (0)