summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/src/interface.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2018-01-18 18:24:22 +0000
committerDimitry Andric <dimitry@andric.com>2018-01-18 18:24:22 +0000
commit9f49676a8a6720bb69e93fa3fecd70fa84d05c20 (patch)
treefe311995edb3055fcb5b8dcbb14803f2a2eaf0ce /openmp/libomptarget/src/interface.cpp
parenteb3f76fc83146f85b424a8f923f65263069876dd (diff)
downloadbcm5719-llvm-9f49676a8a6720bb69e93fa3fecd70fa84d05c20.tar.gz
bcm5719-llvm-9f49676a8a6720bb69e93fa3fecd70fa84d05c20.zip
Sprinkle a few <cstdlib> includes, for libomptarget sources using
malloc, free, alloca and getenv. NFCI. llvm-svn: 322869
Diffstat (limited to 'openmp/libomptarget/src/interface.cpp')
-rw-r--r--openmp/libomptarget/src/interface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/libomptarget/src/interface.cpp b/openmp/libomptarget/src/interface.cpp
index 2e0e496fd3f..a48d66788ff 100644
--- a/openmp/libomptarget/src/interface.cpp
+++ b/openmp/libomptarget/src/interface.cpp
@@ -19,6 +19,7 @@
#include "rtl.h"
#include <cassert>
+#include <cstdlib>
////////////////////////////////////////////////////////////////////////////////
/// adds a target shared library to the target execution image
OpenPOWER on IntegriCloud