From 8a56180f7633680384f566cbfff3f833e7529e73 Mon Sep 17 00:00:00 2001 From: Robert Drehmel Date: Mon, 15 Oct 2001 13:50:47 +0000 Subject: [PATCH] Define the types iaddr_t and saddr_t for sparc64. --- lib/libstand/zalloc_defs.h | 4 ++++ 1 file changed, 4 insertions(+) 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"