diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2021-01-19 14:38:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-21 11:00:02 +0000 |
| commit | 3c379b243b26dd1cce8b5f5da0bc06eba775e740 (patch) | |
| tree | bfa2fe7e15e050b83d2b368cce0263d0443dec11 /main.c | |
| parent | Merge branch 'stacktrace' (diff) | |
main: correct header for mode macros
main.c:13:10: fatal error: 'sys/sysinfo.h' file not found
#include <sys/sysinfo.h>
^~~~~~~~~~~~~~~
main.c:122:28: error: use of undeclared identifier 'S_IRUSR'
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) {
^
main.c:122:38: error: use of undeclared identifier 'S_IWUSR'
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) {
^
main.c:122:48: error: use of undeclared identifier 'S_IRGRP'
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) {
^
main.c:122:58: error: use of undeclared identifier 'S_IROTH'
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) {
^
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ #include <unistd.h> #include <sys/types.h> -#include <sys/sysinfo.h> +#include <sys/stat.h> #include <sys/utsname.h> #include <fcntl.h> |
