summaryrefslogtreecommitdiff
path: root/sysutils/mtx/patches/patch-mtx.h
blob: 37d9e3fe93a6976d6c87a66da41294c8fae03ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- mtx.h.orig	2015-07-08 16:23:01.000000000 +0200
+++ mtx.h	2015-07-08 16:24:24.000000000 +0200
@@ -68,6 +68,13 @@
 #  include <sys/param.h>
 #endif
 
+#ifdef __NetBSD__
+/* use NetBSD's scsiio interface */
+#include <sys/scsiio.h>
+typedef int DEVICE_TYPE;
+#endif
+
+
 /* Now greatly modified to use GNU Autoconf stuff: */
 /* If we use the 'sg' interface, like Linux, do this: */
 #if HAVE_SCSI_SG_H