Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
archive/tools/e2fsprogs/patches/003-openbsd-compat.patch
Felix Fietkau e97ae6a509 tools/e2fsprogs: update to 1.42.13
Update e2fsprogs to 1.42.13.
Refresh and cleanup patches.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 47426
2015-11-08 20:40:03 +00:00

23 lines
441 B
Diff

--- a/lib/blkid/getsize.c
+++ b/lib/blkid/getsize.c
@@ -25,6 +25,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>
--- a/lib/quota/mkquota.c
+++ b/lib/quota/mkquota.c
@@ -8,6 +8,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
+#include <stdint.h>
#include <string.h>
#include <fcntl.h>