diff --git a/lib/libstand/zalloc_defs.h b/lib/libstand/zalloc_defs.h index fda86c7eede8..b51b6b232182 100644 --- a/lib/libstand/zalloc_defs.h +++ b/lib/libstand/zalloc_defs.h @@ -59,6 +59,10 @@ typedef int saddr_t; /* signed int same size as pointer */ typedef unsigned long iaddr_t; /* unsigned int same size as pointer */ typedef long saddr_t; /* signed int same size as pointer */ #endif +#ifdef __sparc64__ +typedef unsigned long iaddr_t; /* unsigned long same size as pointer */ +typedef long saddr_t; /* signed long same size as pointer */ +#endif #include "zalloc_mem.h"