aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-01-19 14:38:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-23 09:16:09 +0000
commitfd4511a3dc9f29587cf71c549b282393f1315ae0 (patch)
tree218415aa545751fd6441779dd87cd7ecff82b421
parentinput: don’t enable keyboard repeat timer when repeat rate is zero (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) { ^
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 4423ec7a..f8da2fb3 100644
--- a/main.c
+++ b/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>