nixpkgs/pkgs/tools/filesystems/btrfsprogs/glibc212.patch
Lluís Batlle i Rossell 1c35ff38d0 Making btrfsprogs build with glibc 2.12
svn path=/nixpkgs/branches/stdenv-updates/; revision=23701
2010-09-09 17:07:28 +00:00

13 lines
266 B
Diff

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"