aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/ftruncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/ftruncate.c')
-rw-r--r--sysdeps/stub/ftruncate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/stub/ftruncate.c b/sysdeps/stub/ftruncate.c
index b70bbc1746..c84ed4ab1b 100644
--- a/sysdeps/stub/ftruncate.c
+++ b/sysdeps/stub/ftruncate.c
@@ -18,6 +18,7 @@
#include <sys/types.h>
#include <errno.h>
+#include <unistd.h>
/* Truncate the file FD refers to to LENGTH bytes. */
int