Skip to content

Commit

Permalink
mkfs: avoid clash with system struct stat
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc committed Jan 10, 2011
1 parent e92fd61 commit 2406796
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2406796

Please sign in to comment.