.
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 4f6aaa9..58cd2bb 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)