diff options
-rw-r--r-- | src/amd/common/ac_gpu_info.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h index a72ab58f9a3..3091fed6a43 100644 --- a/src/amd/common/ac_gpu_info.h +++ b/src/amd/common/ac_gpu_info.h @@ -26,6 +26,8 @@ #ifndef AC_GPU_INFO_H #define AC_GPU_INFO_H +#include <stdint.h> +#include <stdbool.h> #include "amd_family.h" #ifdef __cplusplus @@ -33,7 +35,7 @@ extern "C" { #endif /* Prior to C11 the following may trigger a typedef redeclaration warning */ -typedef void * amdgpu_device_handle; +typedef struct amdgpu_device *amdgpu_device_handle; struct amdgpu_gpu_info; struct radeon_info { |