From c3a1c005b7c685144714820938b42408342e7240 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 18 Dec 2003 16:19:32 +0000 Subject: - fix compilation on Debian unstable CVS patchset: 5921 CVS date: 2003/12/18 16:19:32 --- src/xine-utils/xine_check.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c index e4ddb4622..e8627f0df 100644 --- a/src/xine-utils/xine_check.c +++ b/src/xine-utils/xine_check.c @@ -62,6 +62,13 @@ # endif #endif +#ifndef SCSI_BLK_MAJOR +#define SCSI_BLK_MAJOR(m) \ + (((m) == SCSI_DISK0_MAJOR || \ + ((m) >= SCSI_DISK1_MAJOR && (m) <= SCSI_DISK7_MAJOR)) || \ + ((m) == SCSI_CDROM_MAJOR)) +#endif + #endif /* !__linux__ */ static void set_hc_result(xine_health_check_t* hc, int state, char *format, ...) { -- cgit v1.2.3