diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-11-18 09:04:15 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-11-18 09:04:15 -0500 |
commit | 457fcee54828527ee2a6819cac2b51892b673069 (patch) | |
tree | 7f4e03226ff8955fc3989cf7cd6862047353e1ba /stat.c | |
parent | 0a2852c4cd8a8fb95b4a3ba84d768c774186adc1 (diff) | |
download | bfs-457fcee54828527ee2a6819cac2b51892b673069.tar.xz |
stat: #include <unistd.h> for syscall() when needed
Diffstat (limited to 'stat.c')
-rw-r--r-- | stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,6 +29,7 @@ #elif __linux__ # include <linux/stat.h> # include <sys/syscall.h> +# include <unistd.h> #endif #if HAVE_STATX || defined(__NR_statx) |