Mercurial > hg > xemacs-beta
diff src/unexec.c @ 321:19dcec799385 r21-0-58
Import from CVS: tag r21-0-58
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:46:44 +0200 |
parents | 57709be46d1b |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/unexec.c Mon Aug 13 10:46:01 2007 +0200 +++ b/src/unexec.c Mon Aug 13 10:46:44 2007 +0200 @@ -190,6 +190,7 @@ # define __STDC_EXTENDED__ 1 # endif +# include <stddef.h> # include <stdlib.h> # include <unistd.h> # include <string.h> @@ -287,7 +288,7 @@ #ifdef __STDC__ #ifndef __sys_stdtypes_h -#ifndef _PTRDIFF_T +#if !defined(_PTRDIFF_T) && !defined(_BSD_PTRDIFF_T_) typedef long ptrdiff_t; #endif #endif