Hello everybody, 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. Regards, Chris
Signed-off-by: Christian Hesse <mail@xxxxxxxxxxxx> --- btrfsck.c 2010-05-31 15:24:40.000000000 +0200 +++ btrfsck.c 2010-05-31 15:23:26.000000000 +0200 @@ -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"
