mkfs: avoid clash with system struct stat
This commit is contained in:
parent
e92fd6142d
commit
240679608c
1 changed files with 2 additions and 0 deletions
2
mkfs.c
2
mkfs.c
|
@ -4,6 +4,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#define stat xv6_stat // avoid clash with host struct stat
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "fs.h"
|
#include "fs.h"
|
||||||
#include "stat.h"
|
#include "stat.h"
|
||||||
|
|
Loading…
Reference in a new issue