add missing include for btrfsck.c

compiling btrfs-progs from current git I get an error in btrfsck.c about
undefined references. The attached patch adds an include for sys/stat.h
which fixes the problem for me.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
This commit is contained in:
Christian Hesse 2010-09-09 11:05:12 +08:00 committed by Chris Mason
parent 659d37c68d
commit 34915ad27b
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>
#include "kerncompat.h"
#include "ctree.h"
#include "disk-io.h"