util-vserver/util-vserver-0.30.214-stat.patch
2007-09-03 07:57:45 +00:00

14 lines
484 B
Diff

Index: lib_internal/util-safechdir.h
===================================================================
--- lib_internal/util-safechdir.h (revision 2605)
+++ lib_internal/util-safechdir.h (working copy)
@@ -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 <sys/stat.h>
+
int safeChdir(char const *, struct stat const *exp_stat) NONNULL((1,2));
#define EsafeChdir(PATH,EXP_STAT) \