.
authorJim Meyering <jim@meyering.net>
Fri, 19 Aug 1994 17:05:18 +0000 (17:05 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 19 Aug 1994 17:05:18 +0000 (17:05 +0000)
lib/ftruncate.c

index 4f6aaa99349e83b6059d79bd9620236d46e97fc4..58cd2bba97aac9ff2ea6b2f20073ca0b7346f235 100644 (file)
@@ -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)