summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 1555f07317..135f0633b5 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -887,6 +887,7 @@ extern int truncate64 __P ((__const char *__file, __off64_t __length));
 #endif
 
 /* Truncate the file FD is open on to LENGTH bytes.  */
+extern int __ftruncate __P ((int __fd, __off_t __length));
 #ifndef __USE_FILE_OFFSET64
 extern int ftruncate __P ((int __fd, __off_t __length));
 #else