diff --git a/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h b/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h index 03e74d387..fa3985cc3 100644 --- a/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h +++ b/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h @@ -14,6 +14,10 @@ extern "C" { #endif +#ifndef __counted_by +#define __counted_by(cnt) +#endif + #define AMDXDNA_DRIVER_MAJOR 1 #define AMDXDNA_DRIVER_MINOR 0