small patch to get aic7xxx to compile in 95

Pat St. Jean (psj@cgmlarson.com)
Sat, 11 Apr 1998 21:02:28 -0500 (CDT)


Here's something I just ran into whilst building 2.1.95 w/ aic7xxx
support. It seems that drivers/scsi/aic7xxx/sequencer.h redefines
u_int8_t when __KERNEL__ is defined. This fixes it. It's probably not
programmatically the best way to do it, but it gets done what I think the
author intended.

Pat

--- begin patch ---
--- linux/drivers/scsi/aic7xxx/sequencer.h Thu Jul 31 14:37:17 1997
+++ linux/drivers/scsi/aic7xxx/sequencer.h Sat Apr 11 20:44:59 1998
@@ -40,7 +40,7 @@
*/

#if defined(__KERNEL__)
-typedef unsigned char u_int8_t;
+#include <linux/types.h>
#endif

struct ins_format1 {
--- end patch ---

-- 
Patrick St. Jean              '97 XLH 883                psj@cgmlarson.com
Programmer & Systems Administrator                    +1 713-977-4177 x115
Larson Software Technology                        http://www.cgmlarson.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu