1 2 3 4 5 6 7 8 9 10 11 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>