chiark / gitweb /
systemctl: show whether we follow somebody in 'status' output
[elogind.git] / src / util.h
index 8a510ae5c1133c0caacf3624f555adc031f2bc39..2bf86d997951d27d731386440fafc6f6d878a04c 100644 (file)
@@ -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)