mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
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) {
^
This commit is contained in:
parent
c5031be489
commit
3c379b243b
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue