about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-03-04 21:09:24 +0100
committerMichael Vetter <jubalh@iodoru.org>2022-03-04 21:09:24 +0100
commit198ff3e9be7c1410db734cd49b27ab60b8e4aa5b (patch)
tree61b90f652f7068ff07a11f07a1676fe63f13e90e /src/tools
parent9578b03bf64b445aa7f2699bd346e82888ca19d3 (diff)
downloadprofani-tty-198ff3e9be7c1410db734cd49b27ab60b8e4aa5b.tar.gz
Add stat.h to editor
Fix on openbsd:
`src/tools/editor.c:55:36: error: 'S_IRWXU' undeclared (first use in
this function)`
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/editor.c b/src/tools/editor.c
index e479db23..10c5c7d4 100644
--- a/src/tools/editor.c
+++ b/src/tools/editor.c
@@ -35,6 +35,7 @@
  */
 
 #include <fcntl.h>
+#include <sys/stat.h>
 #include <sys/wait.h>
 #include <errno.h>
 #include <glib.h>
href='#n41'>41 42 43 44 45 46 47 48 49 50 51 52