]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux-dev_t.patch
- adapterized (avoid macros with /usr/include/{ncurses,freetype}*)
[packages/util-linux.git] / util-linux-dev_t.patch
CommitLineData
2badb605
JB
1my_dev_t is used only in struct loop_info definition (see <linux/loop.h>).
2It has to be _old_ kernel dev_t type (i.e. used before 2.6.x).
3For 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
654c4698
JK
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
2badb605 8@@ -4,4 +4,4 @@
654c4698
JK
9 /* for ancient systems use "unsigned short" */
10
654c4698 11 #include <linux/posix_types.h>
2badb605
JB
12-#define my_dev_t __kernel_dev_t
13+#define my_dev_t __kernel_old_dev_t
This page took 0.964301 seconds and 4 git commands to generate.