--- gforth/vmgen-ex2/mini.l 2002/06/02 15:46:17 1.1 +++ gforth/vmgen-ex2/mini.l 2002/06/02 17:02:56 1.2 @@ -21,6 +21,13 @@ /* %option yylineno (flex option, implied by flex -l) */ +%{ +#ifndef __GNUC__ +#include +char *strdup(const char *s); +#endif +%} + %% [-();,+*&|<=!] return yytext[0]; := return BECOMES;