X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Funexec.c;h=06bb9306523df89d04d2c9c7723d87ac919bd05f;hb=ddf160705829afe71eae7c9f4cb9c54425fbec98;hp=907b5cf81e9148cf0acfbaafc7cba1d6a9ed8188;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/src/unexec.c b/src/unexec.c index 907b5cf..06bb930 100644 --- a/src/unexec.c +++ b/src/unexec.c @@ -190,9 +190,11 @@ pointer looks like an int) but not on all machines. # define __STDC_EXTENDED__ 1 # endif +# include # include # include # include +# include # ifdef __lucid # include @@ -287,7 +289,7 @@ static long data_scnptr; #ifdef __STDC__ #ifndef __sys_stdtypes_h -#ifndef _PTRDIFF_T +#if !defined(_PTRDIFF_T) && !defined(_BSD_PTRDIFF_T_) typedef long ptrdiff_t; #endif #endif @@ -967,7 +969,7 @@ copy_text_and_data (int new, int a_out) #ifdef RISCiX - /* Acorn's RISC-iX has a wacky way of initialising the position of the heap. + /* Acorn's RISC-iX has a wacky way of initializing the position of the heap. * There is a little table in crt0.o that is filled at link time with * the min and current brk positions, among other things. When start * runs, it copies the table to where these parameters live during