]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2012-11-07 Andreas Jaeger <aj@suse.de>
authorJeff Law <law@redhat.com>
Wed, 7 Nov 2012 18:58:37 +0000 (11:58 -0700)
committerJeff Law <law@redhat.com>
Wed, 7 Nov 2012 18:58:37 +0000 (11:58 -0700)
        [BZ #14809]
        * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
        (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
        guards are changed.  Only define if not yet defined, #undef back
        after including linux/sysctl.h if defined here.

ChangeLog
NEWS
sysdeps/unix/sysv/linux/sys/sysctl.h

index b7384c1fc66740fd2d55d471fe3abdb6b7f3db40..8634fb19de4fad40d0f2e0e055aa1ba2e3ed5e21 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-11-07  Andreas Jaeger  <aj@suse.de>
+
+       [BZ #14809]
+       * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
+       (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
+       guards are changed.  Only define if not yet defined, #undef back
+       after including linux/sysctl.h if defined here.
+
 2012-11-07  Roland McGrath  <roland@hack.frob.com>
 
        [BZ #14815]
diff --git a/NEWS b/NEWS
index 6d4704d5f47ee1f8a9b2f09a215d48588f59e993..f6af227141f1605afb1e27817c03e1773ec2df3b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -19,7 +19,7 @@ Version 2.17
   14562, 14568, 14576, 14579, 14583, 14587, 14595, 14602, 14610, 14621,
   14638, 14645, 14648, 14652, 14660, 14661, 14669, 14683, 14694, 14716,
   14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14805,
-  14807, 14811, 14815.
+  14807, 14809, 14811, 14815.
 
 * Support for STT_GNU_IFUNC symbols added for s390 and s390x.
   Optimized versions of memcpy, memset, and memcmp added for System z10 and
index cfa71ad27b61d87eadf450d787a07ee67932a24d..8b58905e773f78e698bc83001489392b60497598 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 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
 # define __user
 # define __undef__LINUX_COMPILER_H
 #endif
+#ifndef  _UAPI_LINUX_KERNEL_H
+# define _UAPI_LINUX_KERNEL_H
+# define __undef_UAPI_LINUX_KERNEL_H
+#endif
+#ifndef _UAPI_LINUX_TYPES_H
+# define _UAPI_LINUX_TYPES_H
+# define __undef_UAPI_LINUX_TYPES_H
+#endif
 
 #include <linux/sysctl.h>
 
 # undef __user
 # undef __undef__LINUX_COMPILER_H
 #endif
+#ifdef  __undef_UAPI_LINUX_KERNEL_H
+# undef _UAPI_LINUX_KERNEL_H
+# undef __undef_UAPI_LINUX_KERNEL_H
+#endif
+#ifdef __undef_UAPI_LINUX_TYPES_H
+# undef _UAPI_LINUX_TYPES_H
+# undef __undef_UAPI_LINUX_TYPES_H
+#endif
 
 #include <bits/sysctl.h>