summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/src
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2018-01-18 10:58:43 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2018-01-18 10:58:43 +0000
commite5499111b94f0306a62ffa764cf9414e98300a2c (patch)
tree963aa22d010f47b76afd40ad4098b83ceab3c4a8 /openmp/libomptarget/src
parentc815ed57927615e18c0df0cdf8a662bdb1e6a3b7 (diff)
downloadbcm5719-llvm-e5499111b94f0306a62ffa764cf9414e98300a2c.tar.gz
bcm5719-llvm-e5499111b94f0306a62ffa764cf9414e98300a2c.zip
Add missing headers for Debug builds
llvm-svn: 322830
Diffstat (limited to 'openmp/libomptarget/src')
-rw-r--r--openmp/libomptarget/src/rtl.cpp1
-rw-r--r--openmp/libomptarget/src/rtl.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/openmp/libomptarget/src/rtl.cpp b/openmp/libomptarget/src/rtl.cpp
index c5e87490c89..64a7f7fe128 100644
--- a/openmp/libomptarget/src/rtl.cpp
+++ b/openmp/libomptarget/src/rtl.cpp
@@ -19,6 +19,7 @@
#include <cstring>
#include <dlfcn.h>
#include <mutex>
+#include <string>
// List of all plugins that can support offloading.
static const char *RTLNames[] = {
diff --git a/openmp/libomptarget/src/rtl.h b/openmp/libomptarget/src/rtl.h
index 2e661d6edf3..dc3cd6d1225 100644
--- a/openmp/libomptarget/src/rtl.h
+++ b/openmp/libomptarget/src/rtl.h
@@ -17,6 +17,7 @@
#include <list>
#include <map>
#include <mutex>
+#include <string>
#include <vector>
// Forward declarations.
OpenPOWER on IntegriCloud