Initial commit
This commit is contained in:
12
tools/e2fsprogs/patches/003-openbsd-compat.patch
Normal file
12
tools/e2fsprogs/patches/003-openbsd-compat.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- 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>
|
||||
Reference in New Issue
Block a user