1 diff -ur util-linux-2.12q.org/configure util-linux-2.12q/configure
2 --- util-linux-2.12q.org/configure 2004-12-20 23:20:35.000000000 +0100
3 +++ util-linux-2.12q/configure 2005-02-27 19:22:06.000000000 +0100
5 # 13. For nfsmount: does the output of rpcgen compile?
6 # 14. For fsck.cramfs, mkfs.cramfs: do we have libz?
7 # 15. For mount, do we have blkid?
8 +# 16. For raw.c: does <sys/raw.h> exist?
10 rm -f make_include defines.h
13 rm -f conftest conftest.c
16 +# 16. For raw.c: does <sys/raw.h> exist?
18 +if ./testincl "sys/raw.h"; then
19 + echo "ADD_RAW=yes" >> make_include
23 # 13. For nfsmount: does the output of rpcgen compile?
25 # On some systems the output of rpcgen compiles with warnings
26 diff -ur util-linux-2.12q.org/disk-utils/raw.c util-linux-2.12q/disk-utils/raw.c
27 --- util-linux-2.12q.org/disk-utils/raw.c 2002-03-08 23:58:37.000000000 +0100
28 +++ util-linux-2.12q/disk-utils/raw.c 2005-02-27 19:21:29.000000000 +0100
31 #include <sys/ioctl.h>
32 #include <sys/sysmacros.h>
33 -#include <linux/raw.h>
35 #include <linux/major.h>
40 #define DEVFS_RAWCTLDEV "/dev/raw/rawctl"
43 +#define __LINUX_RAW_H __SYSTEM_RAW_H