$OpenBSD: patch-scsilib_libscg_scsi-bsd_c,v 1.2 2001/05/10 03:22:01 fgsch Exp $ --- scsilib/libscg/scsi-bsd.c.orig Sun Apr 29 05:44:46 2001 +++ scsilib/libscg/scsi-bsd.c Wed May 9 23:42:32 2001 @@ -76,6 +76,7 @@ struct scg_local { #else #if defined(__OpenBSD__) && defined(TYPE_ATAPI) +#define MAYBE_ATAPI #define SADDR_ISSCSI(a) ((a).type == TYPE_SCSI) #else #define SADDR_ISSCSI(a) (1)