summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
index b10f34a1664..192e355c62f 100644
--- a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
+++ b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
@@ -16,9 +16,11 @@
#error "amdgcn target_impl.h expects to be compiled under __AMDGCN__"
#endif
-#include <stdint.h>
#include "amdgcn_interface.h"
+#include <stddef.h>
+#include <stdint.h>
+
#define DEVICE __attribute__((device))
#define INLINE inline DEVICE
#define NOINLINE __attribute__((noinline)) DEVICE
OpenPOWER on IntegriCloud