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
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>
10 /* Need to fine tune the ifdef so we get the transition point right. */
11 #include <scsi/scsi.h>