openbsd-ports/emulators/bochs/patches/patch-iodev_cdrom_cc
giovanni bfd7a0a0a4 Update to 2.4.5
from Brad
2010-07-08 15:40:11 +00:00

14 lines
442 B
Plaintext

$OpenBSD: patch-iodev_cdrom_cc,v 1.4 2010/07/08 15:40:11 giovanni Exp $
--- iodev/cdrom.cc.orig Fri Dec 4 14:50:26 2009
+++ iodev/cdrom.cc Fri Jun 18 18:49:22 2010
@@ -91,6 +91,9 @@ extern "C" {
#include <sys/param.h>
#include <sys/file.h>
#include <sys/cdio.h>
+#if defined(__OpenBSD__)
+#include <sys/dkio.h>
+#endif
#include <sys/ioctl.h>
#include <sys/disklabel.h>
// ntohl(x) et al have been moved out of sys/param.h in FreeBSD 5