Add missing header for atexit.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 24 May 2013 20:54:11 +0000 (20:54 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 24 May 2013 20:54:11 +0000 (20:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182672 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RTDyldMemoryManager.cpp

index 0372bb6ce587a06e046ff7af61c4e0c39198c002..6eee0d56c26b3d05b918a45cbc9b1c1afa281a94 100644 (file)
@@ -16,6 +16,8 @@
 #include "llvm/Support/DynamicLibrary.h"
 #include "llvm/Support/ErrorHandling.h"
 
+#include <cstdlib>
+
 #ifdef __linux__
   // These includes used by RTDyldMemoryManager::getPointerToNamedFunction()
   // for Glibc trickery. See comments in this function for more information.