missing include in btrfsck.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux