diff --git a/xla/pjrt/c/pjrt_c_api.h b/xla/pjrt/c/pjrt_c_api.h index 96b71755b60e8..1d5b44c60201c 100644 --- a/xla/pjrt/c/pjrt_c_api.h +++ b/xla/pjrt/c/pjrt_c_api.h @@ -2118,7 +2118,7 @@ typedef PJRT_Error* PJRT_Compile(PJRT_Compile_Args* args); #define _PJRT_API_STRUCT_FIELD(fn_type) fn_type* fn_type // Please modify PJRT_Api_STRUCT_SIZE if the last field of PJRT_Api is changed. -typedef struct { +typedef struct PJRT_Api { size_t struct_size; PJRT_Extension_Base* extension_start;