diff options
| author | Russ Cox <rsc@swtch.com> | 2011-01-10 10:43:40 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2011-01-10 10:43:40 -0500 |
| commit | 240679608cd46649d1144408f28f83141f9f3a86 (patch) | |
| tree | b9e13e30800e4380aa47aaba581fabf24701d2b5 | |
| parent | e92fd6142de05627096a1e831140e5bd355e45be (diff) | |
| download | xv6-labs-240679608cd46649d1144408f28f83141f9f3a86.tar.gz xv6-labs-240679608cd46649d1144408f28f83141f9f3a86.tar.bz2 xv6-labs-240679608cd46649d1144408f28f83141f9f3a86.zip | |
mkfs: avoid clash with system struct stat
| -rw-r--r-- | mkfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |
