--- /dev/null
+--- ./disk-utils/raw.c.orig Sat Jun 30 13:03:56 2001
++++ ./disk-utils/raw.c Sat Jun 30 13:54:54 2001
+@@ -19,7 +19,7 @@
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <sys/sysmacros.h>
+-#include <linux/raw.h>
++#include <sys/raw.h>
+ #include <linux/major.h>
+
+ #ifdef OLD_RAW_DEVS
+@@ -30,6 +30,8 @@
+ #define RAWDEVDIR "/dev/raw/"
+ #endif
+
++#undef __LINUX_RAW_H
++#define __LINUX_RAW_H __SYSTEM_RAW_H
+
+ char * progname;
+ int do_query = 0;
+--- ./configure.orig Sat Jun 30 13:13:31 2001
++++ ./configure Sat Jun 30 13:52:00 2001
+@@ -35,7 +35,7 @@
+ # 11. For pivot_root.c: does <linux/unistd.h> define __NR_pivot_root?
+ # 12. For hwclock.c: does struct tm have a field tm_gmtoff?
+ # 13. For nfsmount: does the output of rpcgen compile?
+-# 14. For raw.c: does <linux/raw.h> exist?
++# 14. For raw.c: does <sys/raw.h> exist?
+
+ rm -f make_include defines.h
+
+@@ -601,9 +601,9 @@
+ rm -f conftestx.o conftestl.o
+
+ #
+-# 14. For raw.c: does <linux/raw.h> exist?
++# 14. For raw.c: does <sys/raw.h> exist?
+ #
+-if ./testincl "linux/raw.h"; then
++if ./testincl "sys/raw.h"; then
+ echo "ADD_RAW=yes" >> make_include
+ fi
+