Skip to contentSkip to conversation

missing include in btrfsck.c

PATCH Christian Hesse 1 participant 1 message May 31, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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

btrfsck.c +1 -0
@@ -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"