]> granicus.if.org Git - clang/commitdiff
[Clang Interpreter] Fixed Bug 43362, build failure on GCC
authorNandor Licker <n@ndor.email>
Sat, 21 Sep 2019 05:29:18 +0000 (05:29 +0000)
committerNandor Licker <n@ndor.email>
Sat, 21 Sep 2019 05:29:18 +0000 (05:29 +0000)
free() was not directly included in InterpStack.cpp, added include now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372455 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Interp/InterpStack.cpp

index f159fe1955f815ba109bca70ba1d81e9fb196f48..5c803f3d94244f6e0dee8ecaab01071347997f5c 100644 (file)
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cassert>
+#include <cstdlib>
 #include "InterpStack.h"
 
 using namespace clang;