linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* missing include in btrfsck.c
@ 2010-05-31 13:45 Christian Hesse
  0 siblings, 0 replies; only message in thread
From: Christian Hesse @ 2010-05-31 13:45 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: Text/Plain, Size: 213 bytes --]

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

[-- Attachment #2: btrfsck.diff --]
[-- Type: text/x-patch, Size: 320 bytes --]

Signed-off-by: Christian Hesse <mail@earthworm.de>
--- 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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-31 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31 13:45 missing include in btrfsck.c Christian Hesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).