openwrtv4/tools/e2fsprogs/patches/003-openbsd-compat.patch
Kevin Darbyshire-Bryant 819cf75c40 tools: e2fsprogs: bump to 1.43.1
Bump e2fsprogs to v1.43.1 & refresh patches

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-06-22 19:32:07 +02:00

12 lines
245 B
Diff

--- a/lib/blkid/getsize.c
+++ b/lib/blkid/getsize.c
@@ -29,6 +29,9 @@
#include <fcntl.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#ifdef __OpenBSD__
+#include <sys/dkio.h>
+#endif
#endif
#ifdef HAVE_LINUX_FD_H
#include <linux/fd.h>