projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfc8b0
)
.
author
Jim Meyering
<jim@meyering.net>
Fri, 19 Aug 1994 17:05:18 +0000
(17:05 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 19 Aug 1994 17:05:18 +0000
(17:05 +0000)
lib/ftruncate.c
patch
|
blob
|
history
diff --git
a/lib/ftruncate.c
b/lib/ftruncate.c
index 4f6aaa99349e83b6059d79bd9620236d46e97fc4..58cd2bba97aac9ff2ea6b2f20073ca0b7346f235 100644
(file)
--- a/
lib/ftruncate.c
+++ b/
lib/ftruncate.c
@@
-32,7
+32,9
@@
ftruncate (fd, length)
#include <sys/stat.h>
#include <errno.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
int
ftruncate (fd, length)