diff --git a/modules/src/em_code/insert.c b/modules/src/em_code/insert.c index b45afcb33..86cbf9d3d 100644 --- a/modules/src/em_code/insert.c +++ b/modules/src/em_code/insert.c @@ -125,6 +125,7 @@ swttmp() if (C_tmpfile == 0) { static char tmpbuf[64]; register char *p = tmpbuf; + extern char *mktemp(); strcpy(p, C_tmpdir); strcat(p, "/CodeXXXXXX"); diff --git a/modules/src/em_code/io.c b/modules/src/em_code/io.c index 042f2d32a..8e59e5704 100644 --- a/modules/src/em_code/io.c +++ b/modules/src/em_code/io.c @@ -24,7 +24,7 @@ File *C_ofp; #ifndef INCORE File *C_tfr, *C_old_ofp; char *C_tmpfile; -char *strcpy(), *strcat(), *mktemp(); +char *strcpy(), *strcat(); char *C_ibuf = 0; long C_current_out; #endif