]> git.pld-linux.org Git - packages/cdrtools.git/blob - cdrtools-u8-type.aptch
- fix compilation on 2.5 kernel
[packages/cdrtools.git] / cdrtools-u8-type.aptch
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
This page took 0.087971 seconds and 4 git commands to generate.