--- sanei_scsi.c.original	Tue Jan 14 14:50:25 2003
+++ sanei_scsi.c	Tue Jan 14 14:20:11 2003
@@ -280,6 +280,11 @@
 #define SCSIBUFFERSIZE (128 * 1024)
 #endif
 
+/* make things work on 64 Bit sparc systems */
+#ifdef __sparc__
+#undef SG_IO
+#endif /* sparc */
+
 /* the struct returned by the SG ioctl call SG_GET_SCSI_ID changed
    from version 2.1.34 to 2.1.35, and we need the informations from
    the field s_queue_depth, which was introduced in 2.1.35.

