Annotation of /trunk/glibc/patches/glibc-2.3.5-kd-userspace.patch
Parent Directory | Revision Log
Revision 1190 -
(hide annotations)
(download)
Mon Nov 15 20:52:48 2010 UTC (13 years, 10 months ago) by niro
File size: 492 byte(s)
Mon Nov 15 20:52:48 2010 UTC (13 years, 10 months ago) by niro
File size: 492 byte(s)
fixes agpgart userspace errors with newer xorg-server, see: https://bugs.launchpad.net/ubuntu/+source/linux-kernel-headers/+bug/24301
1 | niro | 1190 | --- glibc-2.3.5/sysdeps/unix/sysv/linux/sys/kd.h.orig 2010-11-15 21:59:46.000000000 +0100 |
2 | +++ glibc-2.3.5/sysdeps/unix/sysv/linux/sys/kd.h 2010-11-15 22:00:17.000000000 +0100 | ||
3 | @@ -22,8 +22,14 @@ | ||
4 | /* Make sure the <linux/types.h> header is not loaded. */ | ||
5 | #ifndef _LINUX_TYPES_H | ||
6 | # define _LINUX_TYPES_H 1 | ||
7 | +# define __undef_LINUX_TYPES_H 1 | ||
8 | #endif | ||
9 | |||
10 | #include <linux/kd.h> | ||
11 | |||
12 | +#ifdef __undef_LINUX_TYPES_H | ||
13 | +# undef _LINUX_TYPES_H | ||
14 | +# undef __undef_LINUX_TYPES_H | ||
15 | +#endif | ||
16 | + | ||
17 | #endif /* sys/kd.h */ |