Mercurial > hg > xemacs-beta
diff src/unexelfsgi.c @ 58:8b0bdfdf0cf0 r19-16-pre4
Import from CVS: tag r19-16-pre4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:58:37 +0200 |
parents | ee648375d8d6 |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/src/unexelfsgi.c Mon Aug 13 08:58:21 2007 +0200 +++ b/src/unexelfsgi.c Mon Aug 13 08:58:37 2007 +0200 @@ -545,6 +545,12 @@ (n)++; } while (0) typedef unsigned char byte; +/* IRIX 5 defines this only in inttypes.h, and you can't include both + * inttypes.h and sys/types.h. This is fixed by IRIX 6.2. */ +#ifndef HAVE_UINTPTR_T +typedef unsigned long int uintptr_t; +#endif + /* Round X up to a multiple of Y. */ int