documentation updated / fixed & updated cdrtools / fixed coreutils
[hdw-linux/hdw-linux.git] / packages / hackbard / cdrtools / u8.patch
index 6b1d873..5d39f47 100644 (file)
@@ -1,11 +1,14 @@
---- ./libscg/scsi-linux-sg.c.orig      2004-07-14 14:16:39.000000000 +0200
-+++ ./libscg/scsi-linux-sg.c   2004-07-14 14:18:21.000000000 +0200
-@@ -65,6 +65,9 @@
+--- ./libscg/scsi-linux-sg.c.orig      2004-08-13 14:21:18.092637976 +0200
++++ ./libscg/scsi-linux-sg.c   2004-08-13 14:23:28.209857152 +0200
+@@ -65,6 +65,12 @@
  
  #if LINUX_VERSION_CODE >= 0x01031a /* <linux/scsi.h> introduced in 1.3.26 */
  #if LINUX_VERSION_CODE >= 0x020000 /* <scsi/scsi.h> introduced somewhere. */
 +#if LINUX_VERSION_CODE >= 0x020600 /* header changes for kernel >= 2.6 */
++#define __KERNEL__
++#include <linux/compiler.h>
 +#include <asm/types.h>
++#undef __KERNEL__
 +#endif
  /* Need to fine tune the ifdef so we get the transition point right. */
  #include <scsi/scsi.h>