diff --git a/lang/basic/src/bem.h b/lang/basic/src/bem.h index deb6eb435..eb1435802 100644 --- a/lang/basic/src/bem.h +++ b/lang/basic/src/bem.h @@ -3,6 +3,7 @@ * See the copyright notice in the ACK home directory, in the file "Copyright". */ +#include #include #include #include @@ -73,11 +74,3 @@ extern Linerecord *currline; extern char *itoa(); extern char *salloc(); - -extern char *strcpy(); -extern char *strcat(); -#if __STDC__ -#include -#else -extern char *malloc(); -#endif diff --git a/lang/basic/src/build.lua b/lang/basic/src/build.lua index f4d6b94a8..eff53d6e9 100644 --- a/lang/basic/src/build.lua +++ b/lang/basic/src/build.lua @@ -24,6 +24,7 @@ cprogram { matching(filenamesof("+llgen"), "%.c$"), }, deps = { + "./*.h", "+llgen", "+tokentab_h", "h+emheaders",