From: Enrico Scholz Date: Fri, 18 Mar 2005 03:56:06 +0000 (+0000) Subject: include instead of defining a 'struct stat'; this prevents X-Git-Tag: IPSENTINEL_VERSION_0_12~68 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5341b9ca6659aa2f67eac0d58148ecaa1d2f4551;p=util-vserver.git include instead of defining a 'struct stat'; this prevents problems with the 64bit interface of the filesystem functions git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1926 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib_internal/unify.h b/util-vserver/lib_internal/unify.h index 346a058..60691eb 100644 --- a/util-vserver/lib_internal/unify.h +++ b/util-vserver/lib_internal/unify.h @@ -19,10 +19,9 @@ #ifndef H_UTIL_VSERVER_LIB_INTERNAL_UNIFY_H #define H_UTIL_VSERVER_LIB_INTERNAL_UNIFY_H +#include #include -struct stat; - bool Unify_unify(char const *src, struct stat const *src_stat, char const *dst, bool ignore_zero) NONNULL((1,2,3)); diff --git a/util-vserver/src/vunify.h b/util-vserver/src/vunify.h index 87568c0..a6e1072 100644 --- a/util-vserver/src/vunify.h +++ b/util-vserver/src/vunify.h @@ -21,6 +21,8 @@ #include "lib_internal/matchlist.h" +#include + struct dirent; struct WalkdownInfo { @@ -51,8 +53,6 @@ struct Arguments { bool do_renew; }; -struct stat; - static bool checkFstat(struct MatchList const * const, PathInfo const * const, PathInfo const * const,