diff options
author | hsu <hsu@FreeBSD.org> | 1998-02-15 08:45:09 +0800 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 1998-02-15 08:45:09 +0800 |
commit | 8c369b4b2e707a32c1fd4d1b5b49a7faedfb442b (patch) | |
tree | 028041c995b9318a9cfdb1ec1e36640153728f6c | |
parent | cb0329672394b6b599bca80af54b39cfc048b949 (diff) | |
download | freebsd-ports-gnome-8c369b4b2e707a32c1fd4d1b5b49a7faedfb442b.tar.gz freebsd-ports-gnome-8c369b4b2e707a32c1fd4d1b5b49a7faedfb442b.tar.zst freebsd-ports-gnome-8c369b4b2e707a32c1fd4d1b5b49a7faedfb442b.zip |
#include <unistd.h> to get prototype for ftruncate().
PR: 5737
Submitted by: tejblum@arc.hq.cti.ru (Dmitrij Tejblum)
-rw-r--r-- | devel/mprof/files/patch-01 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/mprof/files/patch-01 b/devel/mprof/files/patch-01 index 8fbd8b855975..dfc379c83721 100644 --- a/devel/mprof/files/patch-01 +++ b/devel/mprof/files/patch-01 @@ -1,6 +1,16 @@ *** ../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); @@ -9,7 +19,7 @@ atexit(mprof_exit); #endif ---- 411,417 ---- +--- 412,418 ---- #ifdef sun on_exit(mprof_exit, NULL); #endif |