SOURCES: glibc-sys-kd.patch (NEW) - don't leave _LINUX_TYPES_H def...
qboosh
qboosh at pld-linux.org
Sat Jun 11 15:47:09 CEST 2005
Author: qboosh Date: Sat Jun 11 13:47:08 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- don't leave _LINUX_TYPES_H defined if <linux/types.h> was omitted
---- Files affected:
SOURCES:
glibc-sys-kd.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/glibc-sys-kd.patch
diff -u /dev/null SOURCES/glibc-sys-kd.patch:1.1
--- /dev/null Sat Jun 11 15:47:09 2005
+++ SOURCES/glibc-sys-kd.patch Sat Jun 11 15:46:54 2005
@@ -0,0 +1,18 @@
+--- glibc-2.3.5/sysdeps/unix/sysv/linux/sys/kd.h.orig 2001-07-06 06:56:21.000000000 +0200
++++ glibc-2.3.5/sysdeps/unix/sysv/linux/sys/kd.h 2005-06-11 15:33:34.221698688 +0200
+@@ -21,9 +21,15 @@
+
+ /* Make sure the <linux/types.h> header is not loaded. */
+ #ifndef _LINUX_TYPES_H
++# define __undef_LINUX_TYPES_H
+ # define _LINUX_TYPES_H 1
+ #endif
+
+ #include <linux/kd.h>
+
++#ifdef __undef_LINUX_TYPES_H
++# undef _LINUX_TYPES_H
++# undef __undef_LINUX_TYPES_H
++#endif
++
+ #endif /* sys/kd.h */
================================================================
More information about the pld-cvs-commit
mailing list