summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-18 22:38:41 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-18 22:38:41 +0200
commit3b63d2d31d0850bd7a81ab9b468218d2c4c461e8 (patch)
tree8c630affc7b088bfa61419b1684a3dd64bb03860 /src/util.h
parent12aad1d075a6cfa23920b977146e79d8154f2540 (diff)
tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 2bf86d9979..e87fb23bf8 100644
--- a/src/util.h
+++ b/src/util.h
@@ -32,6 +32,7 @@
#include <sched.h>
#include <limits.h>
#include <sys/stat.h>
+#include <dirent.h>
#include "macro.h"
@@ -361,6 +362,8 @@ _noreturn_ void freeze(void);
bool null_or_empty(struct stat *st);
+DIR *xopendirat(int dirfd, const char *name);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)