about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/mach/hurd/lchmod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/lchmod.c b/sysdeps/mach/hurd/lchmod.c
index 4f33f03b17..284c2815c4 100644
--- a/sysdeps/mach/hurd/lchmod.c
+++ b/sysdeps/mach/hurd/lchmod.c
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <stddef.h>
 #include <sys/stat.h>
+#include <fcntl.h>
 #include <hurd.h>
 
 /* Change the protections of FILE to MODE.  */