summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/bits/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/bits/fcntl.h')
-rw-r--r--sysdeps/mach/hurd/bits/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/bits/fcntl.h b/sysdeps/mach/hurd/bits/fcntl.h
index 2f890c1b65..b4147cee51 100644
--- a/sysdeps/mach/hurd/bits/fcntl.h
+++ b/sysdeps/mach/hurd/bits/fcntl.h
@@ -22,6 +22,8 @@
# error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
#endif
+#include <sys/types.h>
+
/* File access modes. These are understood by io servers; they can be
passed in `dir_lookup', and are returned by `io_get_openmodes'.
Consequently they can be passed to `open', `hurd_file_name_lookup', and