diff options
author | Christian Hesse <mail@earthworm.de> | 2010-09-09 11:05:12 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-09-23 20:26:49 -0400 |
commit | 34915ad27b7db0336560350fa89e340cdb4b8663 (patch) | |
tree | 9b9beca6350e3699247fe3987f087099192e561b | |
parent | 659d37c68d0676dcb9a9990bdbe61b98f11b0246 (diff) |
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>
-rw-r--r-- | btrfsck.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |