diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h --- a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h +++ b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h @@ -18,10 +18,13 @@ #include "amdgcn_interface.h" -#include #include #include +// subset of inttypes.h +#define PRId64 "ld" +#define PRIu64 "lu" + #define DEVICE #define INLINE inline DEVICE #define NOINLINE __attribute__((noinline)) DEVICE diff --git a/openmp/libomptarget/deviceRTLs/common/include/target/shuffle.h b/openmp/libomptarget/deviceRTLs/common/include/target/shuffle.h --- a/openmp/libomptarget/deviceRTLs/common/include/target/shuffle.h +++ b/openmp/libomptarget/deviceRTLs/common/include/target/shuffle.h @@ -16,7 +16,7 @@ #define LIBOMPTARGET_DEVICERTL_SHUFFLE_H #include -#include +#include #pragma omp declare target