diff --git a/src/asm/yaccprt1.y b/src/asm/yaccprt1.y index 85207266..1eec02ec 100644 --- a/src/asm/yaccprt1.y +++ b/src/asm/yaccprt1.y @@ -1,8 +1,11 @@ %{ +#include +#include +#include #include #include #include -#include +#include #include "asm/symbol.h" #include "asm/asm.h" diff --git a/src/asm/yaccprt3.y b/src/asm/yaccprt3.y index bf8df711..b531e1a0 100644 --- a/src/asm/yaccprt3.y +++ b/src/asm/yaccprt3.y @@ -267,6 +267,7 @@ include : T_POP_INCLUDE string { if( !fstk_RunInclude($2) ) { + fprintf(stderr, "Could not open file '%s' : %s\n", $2, strerror(errno)); yyerror( "File not found" ); } }