diff --git a/lang/basic/src.old/initialize.c b/lang/basic/src.old/initialize.c index a98af6319..9a6e4851d 100644 --- a/lang/basic/src.old/initialize.c +++ b/lang/basic/src.old/initialize.c @@ -1,10 +1,10 @@ #include "bem.h" +#include #ifndef NORSCID static char rcs_id[] = "$Header$" ; #endif - /* generate temporary files etc */ FILE *emfile; @@ -13,7 +13,7 @@ FILE *datfile; initialize() { - sprintf(tmpfname,"/tmp/abc%d",getpid()); + sprintf(tmpfname,"%s/abc%d",TMP_DIR,getpid()); strcpy(datfname,program); strcat(datfname,".d"); yyin= fopen(inpfile,"r");