aboutsummaryrefslogtreecommitdiffstats
path: root/tools/e2fsprogs/patches/004-freebsd-compat.patch
blob: 5eff49999e2e68f50e5fa05583a2a7158f0d0de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nur e2fsprogs-1.42.7.orig/lib/ext2fs/tdb.c e2fsprogs-1.42.7/lib/ext2fs/tdb.c
--- e2fsprogs-1.42.7.orig/lib/ext2fs/tdb.c	2012-07-06 15:37:27.000000000 +0200
+++ e2fsprogs-1.42.7/lib/ext2fs/tdb.c	2013-03-07 14:54:59.000000000 +0100
@@ -56,7 +56,9 @@
 #include <utime.h>
 #endif
 #include <sys/stat.h>
+#ifndef __FreeBSD__
 #include <sys/file.h>
+#endif
 #include <fcntl.h>
 
 #ifdef HAVE_SYS_MMAN_H