--- gforth/engine/engine.c 2005/08/06 17:11:44 1.83 +++ gforth/engine/engine.c 2005/08/21 22:09:14 1.84 @@ -71,6 +71,10 @@ #include #endif +#ifdef HAS_LIBFFI +#include +#endif + #ifndef SEEK_SET /* should be defined in stdio.h, but some systems don't have it */ #define SEEK_SET 0 @@ -300,6 +304,11 @@ Label *engine(Xt *ip0, Cell *sp0, Cell * long long llrv; void * prv; #endif +#ifdef HAS_LIBFFI + extern void * ritem; + extern void ** clist; + extern void ffi_callback(ffi_cif * cif, void * resp, void ** args, Xt * ip); +#endif register Address up UPREG = UP; register Cell MAYBE_UNUSED spTOS TOSREG; register Cell MAYBE_UNUSED spb spbREG;