--- gforth/Attic/engine.c 1994/10/03 18:24:01 1.18 +++ gforth/Attic/engine.c 1994/12/12 17:10:35 1.20 @@ -16,9 +16,14 @@ #include "forth.h" #include "io.h" +#ifndef SEEK_SET +/* should be defined in stdio.h, but some systems don't have it */ +#define SEEK_SET 0 +#endif + typedef union { struct { -#ifdef BIG_ENDIAN +#ifdef WORDS_BIGENDIAN Cell high; Cell low; #else @@ -181,7 +186,8 @@ Label *engine(Xt *ip0, Cell *sp0, Cell * #ifdef DEBUG fprintf(stderr,"ip=%x, sp=%x, rp=%x, fp=%x, lp=%x, up=%x\n", - ip,sp,rp,fp,lp,up); + (unsigned)ip,(unsigned)sp,(unsigned)rp, + (unsigned)fp,(unsigned)lp,(unsigned)up); #endif if (ip == NULL)