diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lid.c | 2 | ||||
-rw-r--r-- | src/mkid.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -604,7 +604,7 @@ get_editor_argv(char *fullstring, int* argc) *argc = 1; mark = fullstring; - while (mark = strchr(mark, ' ')) { + while ((mark = strchr(mark, ' '))) { (*argc)++; mark += strspn(mark, " "); } @@ -22,7 +22,7 @@ #include <stdio.h> #include <errno.h> #include <getopt.h> -#include <sys/stat.h> +#include "lstat.h" #include <stddef.h> #include <unistd.h> #include <pathmax.h> |