]> git.pld-linux.org Git - packages/util-linux.git/blob - util-linux-dev_t.patch
- adapterized (avoid macros with /usr/include/{ncurses,freetype}*)
[packages/util-linux.git] / util-linux-dev_t.patch
1 my_dev_t is used only in struct loop_info definition (see <linux/loop.h>).
2 It has to be _old_ kernel dev_t type (i.e. used before 2.6.x).
3 For 2.6.x headers use __kernel_old_dev_t (for x86: 16-bit, while
4 __kernel_dev_t is 32-bit and recent glibc dev_t is 64-bit)
5
6 --- util-linux-2.12.orig/mount/my_dev_t.h       2003-07-16 22:05:50.000000000 +0200
7 +++ util-linux-2.12/mount/my_dev_t.h    2004-12-19 14:31:34.467427960 +0100
8 @@ -4,4 +4,4 @@
9  /* for ancient systems use "unsigned short" */
10  
11  #include <linux/posix_types.h>
12 -#define my_dev_t __kernel_dev_t
13 +#define my_dev_t __kernel_old_dev_t
This page took 0.723509 seconds and 3 git commands to generate.