From: Arkadiusz Miƛkiewicz Date: Thu, 1 May 2003 16:31:05 +0000 (+0000) Subject: - fix compilation on 2.5 kernel X-Git-Tag: cdrtools-2_01a12-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcdrtools.git;a=commitdiff_plain;h=d81adb6ce87361ac4708eb82796d92b6ef8d407d - fix compilation on 2.5 kernel Changed files: cdrtools-u8-type.aptch -> 1.1 --- diff --git a/cdrtools-u8-type.aptch b/cdrtools-u8-type.aptch new file mode 100644 index 0000000..0013821 --- /dev/null +++ b/cdrtools-u8-type.aptch @@ -0,0 +1,14 @@ +diff -urN cdrtools-2.01.org/libscg/scsi-linux-sg.c cdrtools-2.01/libscg/scsi-linux-sg.c +--- cdrtools-2.01.org/libscg/scsi-linux-sg.c Thu May 1 18:25:04 2003 ++++ cdrtools-2.01/libscg/scsi-linux-sg.c Thu May 1 18:25:39 2003 +@@ -66,7 +66,10 @@ + #if LINUX_VERSION_CODE >= 0x01031a /* introduced in 1.3.26 */ + #if LINUX_VERSION_CODE >= 0x020000 /* introduced somewhere. */ + /* Need to fine tune the ifdef so we get the transition point right. */ ++#define __KERNEL__ ++#include + #include ++#undef __KERNEL__ + #else + #include + #endif