1 Submitted By: DJ Lucas <dj at linuxfromscratch dot org>
3 Initial Package Version: 2.3.6
4 Upstream Status: Committed
6 Description: Fixes build errors where linux/types.h is included after sys/kd.h.
8 diff -Naur glibc-2.3.6-orig/sysdeps/unix/sysv/linux/sys/kd.h glibc-2.3.6/sysdeps/unix/sysv/linux/sys/kd.h
9 --- glibc-2.3.6-orig/sysdeps/unix/sysv/linux/sys/kd.h 2001-07-05 23:56:21.000000000 -0500
10 +++ glibc-2.3.6/sysdeps/unix/sysv/linux/sys/kd.h 2006-04-04 21:40:50.000000000 -0500
12 -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
13 +/* Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
14 This file is part of the GNU C Library.
16 The GNU C Library is free software; you can redistribute it and/or
19 /* Make sure the <linux/types.h> header is not loaded. */
20 #ifndef _LINUX_TYPES_H
21 -# define _LINUX_TYPES_H 1
22 +# define _LINUX_TYPES_H 1
23 +# define __undef_LINUX_TYPES_H
28 +#ifdef __undef_LINUX_TYPES_H
29 +# undef _LINUX_TYPES_H
30 +# undef __undef_LINUX_TYPES_H