summaryrefslogtreecommitdiffstats
path: root/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'stat.c')
-rw-r--r--stat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stat.c b/stat.c
index 91cf765..fbbb002 100644
--- a/stat.c
+++ b/stat.c
@@ -29,6 +29,7 @@
#elif __linux__
# include <linux/stat.h>
# include <sys/syscall.h>
+# include <unistd.h>
#endif
#if HAVE_STATX || defined(__NR_statx)