summaryrefslogtreecommitdiffstats
path: root/tools/e2fsprogs/patches/002-freebsd_fix.patch
blob: 5065e05d1d71c75804267d98fd8c9ed23796a66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/lib/ext2fs/tdb.c
+++ b/lib/ext2fs/tdb.c
@@ -29,6 +29,7 @@ Last Changed Date: 2007-06-22 13:36:10 -
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#include <sys/file.h>
 #ifdef CONFIG_STAND_ALONE
 #define HAVE_MMAP
 #define HAVE_STRDUP
@@ -55,7 +56,6 @@ Last Changed Date: 2007-06-22 13:36:10 -
 #include <utime.h>
 #endif
 #include <sys/stat.h>
-#include <sys/file.h>
 #include <fcntl.h>
 
 #ifdef HAVE_SYS_MMAN_H