diff --git a/mkfs.c b/mkfs.c index f227b5f6c2..ffd6745d74 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"