X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Funexec.c;fp=src%2Funexec.c;h=06bb9306523df89d04d2c9c7723d87ac919bd05f;hb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;hp=14ed085ee9c0ddf559ef00dee74b488d6798b80d;hpb=fc475e6669a613cd6d98eb5511c749a23b63c7ac;p=chise%2Fxemacs-chise.git.1 diff --git a/src/unexec.c b/src/unexec.c index 14ed085..06bb930 100644 --- a/src/unexec.c +++ b/src/unexec.c @@ -194,6 +194,7 @@ pointer looks like an int) but not on all machines. # include # include # include +# include # ifdef __lucid # include @@ -288,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 @@ -968,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