--- ./libscg/scsi-linux-sg.c.orig 2002-10-21 19:20:35.000000000 +0300 +++ ./libscg/scsi-linux-sg.c 2004-06-27 15:23:02.670972688 +0300 @@ -78,6 +78,10 @@ #include "scsi/scsi.h" #endif +#if LINUX_VERSION_CODE >= 0x020607 +#include +#endif + #include "scsi/sg.h" #undef sense /* conflict in struct cdrom_generic_command */