From: Enrico Scholz Date: Mon, 3 Sep 2007 07:38:46 +0000 (+0000) Subject: fixed declaration of 'struct stat' X-Git-Tag: release-0.30.215~100 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fa55c904936b83c62159dd0c7fcb6544e65f688;p=util-vserver.git fixed declaration of 'struct stat' include instead of declaring it with 'struct stat' as it might cause conflicts when 'stat' is #defined as stat64 in this header git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2606 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/lib_internal/util-safechdir.h b/lib_internal/util-safechdir.h index 656953d..8ab48c9 100644 --- a/lib_internal/util-safechdir.h +++ b/lib_internal/util-safechdir.h @@ -19,7 +19,8 @@ #ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_SAFECHDIR_H #define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_SAFECHDIR_H -struct stat; +#include + int safeChdir(char const *, struct stat const *exp_stat) NONNULL((1,2)); #define EsafeChdir(PATH,EXP_STAT) \