projects
/
gnulib.git
/ 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
4f6aaa9
..
58cd2bb
100644
(file)
--- a/
lib/ftruncate.c
+++ b/
lib/ftruncate.c
@@
-32,7
+32,9
@@
ftruncate (fd, length)
#include <sys/stat.h>
#include <errno.h>
#include <sys/stat.h>
#include <errno.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <unistd.h>
+#endif
int
ftruncate (fd, length)
int
ftruncate (fd, length)