Merging r322830:
------------------------------------------------------------------------
r322830 | hahnfeld | 2018-01-18 02:58:43 -0800 (Thu, 18 Jan 2018) | 1 line

Add missing headers for Debug builds
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/openmp/branches/release_60@322837 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/libomptarget/src/rtl.cpp b/libomptarget/src/rtl.cpp
index c5e8749..64a7f7f 100644
--- a/libomptarget/src/rtl.cpp
+++ b/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/libomptarget/src/rtl.h b/libomptarget/src/rtl.h
index 2e661d6..dc3cd6d 100644
--- a/libomptarget/src/rtl.h
+++ b/libomptarget/src/rtl.h
@@ -17,6 +17,7 @@
 #include <list>
 #include <map>
 #include <mutex>
+#include <string>
 #include <vector>
 
 // Forward declarations.