xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 240679608cd46649d1144408f28f83141f9f3a86
parent e92fd6142de05627096a1e831140e5bd355e45be
Author: Russ Cox <rsc@swtch.com>
Date:   Mon, 10 Jan 2011 10:43:40 -0500

mkfs: avoid clash with system struct stat

Diffstat:
Mmkfs.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/mkfs.c b/mkfs.c @@ -4,6 +4,8 @@ #include <string.h> #include <fcntl.h> #include <assert.h> + +#define stat xv6_stat // avoid clash with host struct stat #include "types.h" #include "fs.h" #include "stat.h"