1 --- ./libscg/scsi-linux-sg.c.orig 2004-08-13 14:21:18.092637976 +0200
2 +++ ./libscg/scsi-linux-sg.c 2004-08-13 14:23:28.209857152 +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 */
9 +#include <linux/compiler.h>
10 +#include <asm/types.h>
13 /* Need to fine tune the ifdef so we get the transition point right. */
14 #include <scsi/scsi.h>