From 240679608cd46649d1144408f28f83141f9f3a86 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 10 Jan 2011 10:43:40 -0500 Subject: [PATCH] mkfs: avoid clash with system struct stat --- mkfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkfs.c b/mkfs.c index f227b5f..ffd6745 100644 --- a/mkfs.c +++ b/mkfs.c @@ -4,6 +4,8 @@ #include #include #include + +#define stat xv6_stat // avoid clash with host struct stat #include "types.h" #include "fs.h" #include "stat.h"