about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/truncate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/truncate.c b/sysdeps/posix/truncate.c
index 9fe0d86a0a..4f4c07e1df 100644
--- a/sysdeps/posix/truncate.c
+++ b/sysdeps/posix/truncate.c
@@ -20,6 +20,7 @@ Cambridge, MA 02139, USA.  */
 #include <sys/types.h>
 #include <errno.h>
 #include <unistd.h>
+#include <fcntl.h>
 
 /* Truncate PATH to LENGTH bytes.  */
 int