initial checkin of new hdw-linux development cvs repository
[hdw-linux/hdw-linux.git] / packages / hackbard / cdrtools / u8.patch
1 --- ./libscg/scsi-linux-sg.c.orig       2004-07-14 14:16:39.000000000 +0200
2 +++ ./libscg/scsi-linux-sg.c    2004-07-14 14:18:21.000000000 +0200
3 @@ -65,6 +65,9 @@
4  
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 +#if LINUX_VERSION_CODE >= 0x020600 /* header changes for kernel >= 2.6 */
8 +#include <asm/types.h>
9 +#endif
10  /* Need to fine tune the ifdef so we get the transition point right. */
11  #include <scsi/scsi.h>
12  #else