about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/filesystems/ext4magic/glibc-fix.patch
blob: 906609788939a1fe561731640d142fd160403444 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/recover.c b/src/recover.c
index 41b4aee..30b5d8f 100644
--- a/src/recover.c
+++ b/src/recover.c
@@ -24,6 +24,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <utime.h>
+#include <sys/sysmacros.h>
 
 #ifndef O_LARGEFILE
 #define O_LARGEFILE 0