tools/e2fsprogs: update to 1.42.13
[openwrt/openwrt.git] / tools / e2fsprogs / patches / 003-openbsd-compat.patch
1 --- a/lib/blkid/getsize.c
2 +++ b/lib/blkid/getsize.c
3 @@ -25,6 +25,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>
13 --- a/lib/quota/mkquota.c
14 +++ b/lib/quota/mkquota.c
15 @@ -8,6 +8,7 @@
16 #include <sys/stat.h>
17 #include <unistd.h>
18 #include <errno.h>
19 +#include <stdint.h>
20 #include <string.h>
21 #include <fcntl.h>
22