[llvm] r333391 - Added system header cstdlib to MemAlloc.h
Serge Pavlov via llvm-commits
llvm-commits at lists.llvm.org
Mon May 28 23:03:53 PDT 2018
Author: sepavloff
Date: Mon May 28 23:03:53 2018
New Revision: 333391
URL: http://llvm.org/viewvc/llvm-project?rev=333391&view=rev
Log:
Added system header cstdlib to MemAlloc.h
Some buildbots fail because they cannot find `std::malloc` and other
allocation functions.
Modified:
llvm/trunk/include/llvm/Support/MemAlloc.h
Modified: llvm/trunk/include/llvm/Support/MemAlloc.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MemAlloc.h?rev=333391&r1=333390&r2=333391&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MemAlloc.h (original)
+++ llvm/trunk/include/llvm/Support/MemAlloc.h Mon May 28 23:03:53 2018
@@ -19,6 +19,7 @@
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
+#include <cstdlib>
namespace llvm {
More information about the llvm-commits
mailing list