1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/mprof/files/patch-mprof_mon.c
2003-10-19 09:06:38 +00:00

30 lines
541 B
C

*** ../m/mprof_mon.c Tue Apr 20 13:36:09 1993
--- mprof_mon.c Fri Sep 17 17:09:01 1993
***************
*** 5,10 ****
--- 5,11 ----
*/
#include <stdio.h>
+ #include <unistd.h>
#include <sys/file.h>
#include "mprof.h"
***************
*** 411,417 ****
#ifdef sun
on_exit(mprof_exit, NULL);
#endif
! #ifdef mips
atexit(mprof_exit);
#endif
--- 412,418 ----
#ifdef sun
on_exit(mprof_exit, NULL);
#endif
! #if defined(mips) || defined(__FreeBSD__)
atexit(mprof_exit);
#endif