projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
659d37c
)
add missing include for btrfsck.c
author
Christian Hesse
<mail@earthworm.de>
Thu, 9 Sep 2010 03:05:12 +0000
(11:05 +0800)
committer
Chris Mason
<chris.mason@oracle.com>
Fri, 24 Sep 2010 00:26:49 +0000
(20:26 -0400)
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>
btrfsck.c
patch
|
blob
|
history
diff --git
a/btrfsck.c
b/btrfsck.c
index
6f2a0d0
..
d8e353e
100644
(file)
--- a/
btrfsck.c
+++ b/
btrfsck.c
@@
-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"