]>
Commit | Line | Data |
---|---|---|
d2741bb5 AM |
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 | |
4 | @@ -45,6 +45,7 @@ | |
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? | |
9 | ||
10 | rm -f make_include defines.h | |
11 | ||
12 | @@ -662,6 +663,13 @@ | |
13 | rm -f conftest conftest.c | |
14 | ||
15 | # | |
16 | +# 16. For raw.c: does <sys/raw.h> exist? | |
17 | +# | |
18 | +if ./testincl "sys/raw.h"; then | |
19 | + echo "ADD_RAW=yes" >> make_include | |
20 | +fi | |
21 | + | |
22 | +# | |
23 | # 13. For nfsmount: does the output of rpcgen compile? | |
24 | # | |
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 | |
c6fe6678 PG |
29 | @@ -19,7 +19,7 @@ |
30 | #include <sys/stat.h> | |
31 | #include <sys/ioctl.h> | |
32 | #include <sys/sysmacros.h> | |
33 | -#include <linux/raw.h> | |
34 | +#include <sys/raw.h> | |
35 | #include <linux/major.h> | |
36 | ||
37 | #ifdef OLD_RAW_DEVS | |
bd5f542f | 38 | @@ -31,6 +31,8 @@ |
c6fe6678 | 39 | #endif |
bd5f542f | 40 | #define DEVFS_RAWCTLDEV "/dev/raw/rawctl" |
c6fe6678 PG |
41 | |
42 | +#undef __LINUX_RAW_H | |
43 | +#define __LINUX_RAW_H __SYSTEM_RAW_H | |
44 | ||
45 | char * progname; | |
46 | int do_query = 0; |