2015-11-08 20:40:03 +00:00
|
|
|
--- a/lib/blkid/getsize.c
|
|
|
|
+++ b/lib/blkid/getsize.c
|
|
|
|
@@ -25,6 +25,9 @@
|
2013-03-07 17:32:29 +00:00
|
|
|
#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>
|
2015-11-08 20:40:03 +00:00
|
|
|
--- a/lib/quota/mkquota.c
|
|
|
|
+++ b/lib/quota/mkquota.c
|
2013-03-07 17:32:29 +00:00
|
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <errno.h>
|
|
|
|
+#include <stdint.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
|