projects
/
openwrt
/
staging
/
rmilecki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
492b8a88608bb21d6bececd12314b2ed7c0d817e
[openwrt/staging/rmilecki.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>