diff mbox

btrfsck.c: #include <sys/stat.h> to avoid compile failures with glibc >= 2.12

Message ID 1283595378-28405-1-git-send-email-fgaliegue@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Francis Galiegue Sept. 4, 2010, 10:16 a.m. UTC
None
diff mbox

Patch

diff --git a/btrfsck.c b/btrfsck.c
index 73f1836..c1f47a1 100644
--- 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"