forked from OSchip/llvm-project
Sprinkle a few <cstdlib> includes, for libomptarget sources using
malloc, free, alloca and getenv. NFCI. llvm-svn: 322869
This commit is contained in:
parent
eb3f76fc83
commit
9f49676a8a
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <climits>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
|
||||
EXTERN int omp_get_num_devices(void) {
|
||||
RTLsMtx.lock();
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "rtl.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// adds a target shared library to the target execution image
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "rtl.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <dlfcn.h>
|
||||
#include <mutex>
|
||||
|
|
Loading…
Reference in New Issue