[BZ #720]
authorRoland McGrath <roland@gnu.org>
Tue, 15 Feb 2005 00:16:39 +0000 (00:16 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 15 Feb 2005 00:16:39 +0000 (00:16 +0000)
2005-02-14  Roland McGrath  <roland@redhat.com>
[BZ #720]
* sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
if it wasn't originally.

ChangeLog
sysdeps/unix/sysv/linux/sys/kd.h

index 0dba6de..2cb7437 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-14  Roland McGrath  <roland@redhat.com>
+
+       [BZ #720]
+       * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
+       if it wasn't originally.
+
 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
 
        * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
index e0d2e86..d459c07 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
 /* Make sure the <linux/types.h> header is not loaded.  */
 #ifndef _LINUX_TYPES_H
-# define _LINUX_TYPES_H        1
+# define _LINUX_TYPES_H                1
+# define __undef_LINUX_TYPES_H
 #endif
 
 #include <linux/kd.h>
 
+#ifdef __undef_LINUX_TYPES_H
+# undef _LINUX_TYPES_H
+# undef __undef_LINUX_TYPES_H
+#endif
+
 #endif /* sys/kd.h */