From: Russ Cox Date: Mon, 10 Jan 2011 15:43:40 +0000 (-0500) Subject: mkfs: avoid clash with system struct stat X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=240679608cd46649d1144408f28f83141f9f3a86;p=cs3210-lab0.git mkfs: avoid clash with system struct stat --- 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"