003-openbsd-compat.patch 245 B

123456789101112
  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>