summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch
blob: dc26148f17a768eec8824b781c16eb87c5283ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Upstream-Status: Inappropriate [distribution: debian]

Author: Colin Watson <cjwatson@debian.org>
Description: Fixes FTBFS with glibc 2.12 (Closes; #586111).

diff -Naurp btrfs-tools.orig//btrfsck.c btrfs-tools/btrfsck.c
--- btrfs-tools.orig//btrfsck.c	2010-06-05 09:06:38.000000000 +0200
+++ btrfs-tools/btrfsck.c	2010-06-16 16:16:10.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"