diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/xine_check.c | 7 |
1 files changed, 7 insertions, 0 deletions
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, ...) { |