From 3b63d2d31d0850bd7a81ab9b468218d2c4c461e8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 18 Oct 2010 22:38:41 +0200 Subject: tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit --- src/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.h') 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 #include #include +#include #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) -- cgit v1.2.3-54-g00ecf