diff options
| author | Michael Vetter <jubalh@iodoru.org> | 2022-03-04 21:09:24 +0100 |
|---|---|---|
| committer | Michael Vetter <jubalh@iodoru.org> | 2022-03-04 21:09:24 +0100 |
| commit | 198ff3e9be7c1410db734cd49b27ab60b8e4aa5b (patch) | |
| tree | 61b90f652f7068ff07a11f07a1676fe63f13e90e /src/tools | |
| parent | 9578b03bf64b445aa7f2699bd346e82888ca19d3 (diff) | |
| download | profani-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.c | 1 |
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> |