]>
Commit | Line | Data |
---|---|---|
c6fe6678 PG |
1 | --- ./disk-utils/raw.c.orig Sat Jun 30 13:03:56 2001 |
2 | +++ ./disk-utils/raw.c Sat Jun 30 13:54:54 2001 | |
3 | @@ -19,7 +19,7 @@ | |
4 | #include <sys/stat.h> | |
5 | #include <sys/ioctl.h> | |
6 | #include <sys/sysmacros.h> | |
7 | -#include <linux/raw.h> | |
8 | +#include <sys/raw.h> | |
9 | #include <linux/major.h> | |
10 | ||
11 | #ifdef OLD_RAW_DEVS | |
bd5f542f | 12 | @@ -31,6 +31,8 @@ |
c6fe6678 | 13 | #endif |
bd5f542f | 14 | #define DEVFS_RAWCTLDEV "/dev/raw/rawctl" |
c6fe6678 PG |
15 | |
16 | +#undef __LINUX_RAW_H | |
17 | +#define __LINUX_RAW_H __SYSTEM_RAW_H | |
18 | ||
19 | char * progname; | |
20 | int do_query = 0; | |
eae9aed0 PG |
21 | |
22 | --- util-linux-2.10q.org/configure Tue Nov 21 22:08:46 2000 | |
23 | +++ util-linux-2.10q/configure Tue Nov 21 22:10:35 2000 | |
bd5f542f | 24 | @@ -33,6 +33,7 @@ |
eae9aed0 PG |
25 | # 12. For hwclock.c: does struct tm have a field tm_gmtoff? |
26 | # 13. For nfsmount: does the output of rpcgen compile? | |
bd5f542f JB |
27 | # 14. For fsck.cramfs, mkfs.cramfs: do we have libz? |
28 | +# 15. For raw.c: does <sys/raw.h> exist? | |
eae9aed0 PG |
29 | |
30 | rm -f make_include defines.h | |
31 | ||
bd5f542f JB |
32 | @@ -680,4 +681,11 @@ |
33 | echo "You don't have zlib" | |
eae9aed0 | 34 | fi |
bd5f542f | 35 | rm -f conftest conftest.c |
eae9aed0 PG |
36 | + |
37 | +# | |
bd5f542f | 38 | +# 15. For raw.c: does <sys/raw.h> exist? |
eae9aed0 PG |
39 | +# |
40 | +if ./testincl "sys/raw.h"; then | |
41 | + echo "ADD_RAW=yes" >> make_include | |
42 | +fi | |
bd5f542f | 43 |