diff --git a/openmp/libomptarget/src/api.cpp b/openmp/libomptarget/src/api.cpp index 8a67754e741a..15c1d2c7b59b 100644 --- a/openmp/libomptarget/src/api.cpp +++ b/openmp/libomptarget/src/api.cpp @@ -19,6 +19,7 @@ #include #include +#include EXTERN int omp_get_num_devices(void) { RTLsMtx.lock(); diff --git a/openmp/libomptarget/src/interface.cpp b/openmp/libomptarget/src/interface.cpp index 2e0e496fd3f0..a48d66788fff 100644 --- a/openmp/libomptarget/src/interface.cpp +++ b/openmp/libomptarget/src/interface.cpp @@ -19,6 +19,7 @@ #include "rtl.h" #include +#include //////////////////////////////////////////////////////////////////////////////// /// adds a target shared library to the target execution image diff --git a/openmp/libomptarget/src/rtl.cpp b/openmp/libomptarget/src/rtl.cpp index 64a7f7fe1280..315252801fe2 100644 --- a/openmp/libomptarget/src/rtl.cpp +++ b/openmp/libomptarget/src/rtl.cpp @@ -16,6 +16,7 @@ #include "rtl.h" #include +#include #include #include #include