--- gforth/engine/engine.c 2000/06/14 20:31:47 1.18 +++ gforth/engine/engine.c 2000/07/27 10:40:42 1.20 @@ -39,8 +39,12 @@ #include #include #include +#ifdef HAVE_FNMATCH_H #include #else +#include "fnmatch.h" +#endif +#else #include "systypes.h" #endif @@ -302,12 +306,12 @@ Label *engine(Xt *ip0, Cell *sp0, Cell * if (i>=MAX_SYMBOLS) { fprintf(stderr,"gforth-ditc: more than %d primitives\n",MAX_SYMBOLS); exit(1); + } + symbols[i] = &routines[i]; } - symbols[i] = &routines[i]; - } #endif /* defined(DOUBLY_INDIRECT) */ - return symbols; -} + return symbols; + } IF_TOS(TOS = sp[0]); IF_FTOS(FTOS = fp[0]);