diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 8a510ae5c1..2bf86d9979 100644 --- a/src/util.h +++ b/src/util.h @@ -31,6 +31,7 @@ #include <signal.h> #include <sched.h> #include <limits.h> +#include <sys/stat.h> #include "macro.h" @@ -358,6 +359,8 @@ int wait_for_terminate_and_warn(const char *name, pid_t pid); _noreturn_ void freeze(void); +bool null_or_empty(struct stat *st); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) |