diff options
author | Dimitry Andric <dimitry@andric.com> | 2018-01-18 18:24:22 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2018-01-18 18:24:22 +0000 |
commit | 9f49676a8a6720bb69e93fa3fecd70fa84d05c20 (patch) | |
tree | fe311995edb3055fcb5b8dcbb14803f2a2eaf0ce /openmp/libomptarget/src/api.cpp | |
parent | eb3f76fc83146f85b424a8f923f65263069876dd (diff) | |
download | bcm5719-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/api.cpp')
-rw-r--r-- | openmp/libomptarget/src/api.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/libomptarget/src/api.cpp b/openmp/libomptarget/src/api.cpp index 8a67754e741..15c1d2c7b59 100644 --- a/openmp/libomptarget/src/api.cpp +++ b/openmp/libomptarget/src/api.cpp @@ -19,6 +19,7 @@ #include <climits> #include <cstring> +#include <cstdlib> EXTERN int omp_get_num_devices(void) { RTLsMtx.lock(); |