mkfs: avoid clash with system struct stat

This commit is contained in:
Russ Cox 2011-01-10 10:43:40 -05:00
parent e92fd6142d
commit 240679608c

2
mkfs.c
View file

@ -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"