Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
archive/tools/e2fsprogs/patches/004-freebsd-compat.patch
Felix Fietkau e97ae6a509 tools/e2fsprogs: update to 1.42.13
Update e2fsprogs to 1.42.13.
Refresh and cleanup patches.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 47426
2015-11-08 20:40:03 +00:00

13 lines
213 B
Diff

--- a/lib/ext2fs/tdb.c
+++ b/lib/ext2fs/tdb.c
@@ -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