tools/expat: Update to 2.2.4
[openwrt/openwrt.git] / tools / e2fsprogs / patches / 003-openbsd-compat.patch
1 --- a/lib/blkid/getsize.c
2 +++ b/lib/blkid/getsize.c
3 @@ -29,6 +29,9 @@
4 #include <fcntl.h>
5 #ifdef HAVE_SYS_IOCTL_H
6 #include <sys/ioctl.h>
7 +#ifdef __OpenBSD__
8 +#include <sys/dkio.h>
9 +#endif
10 #endif
11 #ifdef HAVE_LINUX_FD_H
12 #include <linux/fd.h>