]>
Commit | Line | Data |
---|---|---|
d81adb6c AM |
1 | diff -urN cdrtools-2.01.org/libscg/scsi-linux-sg.c cdrtools-2.01/libscg/scsi-linux-sg.c |
2 | --- cdrtools-2.01.org/libscg/scsi-linux-sg.c Thu May 1 18:25:04 2003 | |
3 | +++ cdrtools-2.01/libscg/scsi-linux-sg.c Thu May 1 18:25:39 2003 | |
4 | @@ -66,7 +66,10 @@ | |
5 | #if LINUX_VERSION_CODE >= 0x01031a /* <linux/scsi.h> introduced in 1.3.26 */ | |
6 | #if LINUX_VERSION_CODE >= 0x020000 /* <scsi/scsi.h> introduced somewhere. */ | |
7 | /* Need to fine tune the ifdef so we get the transition point right. */ | |
8 | +#define __KERNEL__ | |
9 | +#include <asm/types.h> | |
10 | #include <scsi/scsi.h> | |
11 | +#undef __KERNEL__ | |
12 | #else | |
13 | #include <linux/scsi.h> | |
14 | #endif |