diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-04-14 15:14:58 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-04-14 15:14:58 +0000 |
| commit | 11663637b8c9e7bf410e1ee5bf055a61fdfe523c (patch) | |
| tree | 5572c761028b4a70a2e74b80687c3cd2a4a5854e /lib/libc/sys/truncate.c | |
| parent | 4e3785d4159896aaee73decec5ed2fb0c57ef1e0 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys/truncate.c')
| -rw-r--r-- | lib/libc/sys/truncate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/truncate.c b/lib/libc/sys/truncate.c index 0d50cd73d885..5bfeeb665c9a 100644 --- a/lib/libc/sys/truncate.c +++ b/lib/libc/sys/truncate.c @@ -38,13 +38,15 @@ static char sccsid[] = "@(#)truncate.c 8.1 (Berkeley) 6/17/93"; #include <sys/types.h> #include <sys/syscall.h> +#include <unistd.h> + /* * This function provides 64-bit offset padding that * is not supplied by GCC 1.X but is supplied by GCC 2.X. */ int truncate(path, length) - char *path; + const char *path; off_t length; { |
