include <sys/stat.h> instead of defining a 'struct stat'; this prevents
[util-vserver.git] / util-vserver / src / vunify.h
index 87568c0..a6e1072 100644 (file)
@@ -21,6 +21,8 @@
 
 #include "lib_internal/matchlist.h"
 
+#include <sys/stat.h>
+
 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,