summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/src
diff options
context:
space:
mode:
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