summaryrefslogtreecommitdiffstats
path: root/tools/e2fsprogs/patches/004-freebsd-compat.patch
blob: d102e1cd9c0966091da25fcbeb3d284c65ffc063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/lib/ext2fs/tdb.c
+++ b/lib/ext2fs/tdb.c
@@ -58,7 +58,9 @@ Last Changed Date: 2007-06-22 13:36:10 -
 #include <utime.h>
 #endif
 #include <sys/stat.h>
+#ifndef __FreeBSD__
 #include <sys/file.h>
+#endif
 #include <fcntl.h>
 
 #ifdef HAVE_SYS_MMAN_H