]> 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)
committerAndreas Jaeger <aj@suse.de>
Tue, 13 Nov 2012 08:01:25 +0000 (09:01 +0100)
        [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.
(cherry picked from commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b)

Conflicts:
NEWS

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

index 4c1d94aa4940f1e7bac7780165f7e4dcb133565c..66817c9c093224fb59279f89d878fe789380c15f 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-10-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #14648]
diff --git a/NEWS b/NEWS
index 26b6f8ad8494244edf03322de3a50fb24c95ea73..459553b5bde55c52857baac058819899a9d1dcf4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Version 2.16.1
 
 * The following bugs are resolved with this release:
 
-  6530, 14195, 14459, 14476, 14562, 14621, 14648, 14756
+  6530, 14195, 14459, 14476, 14562, 14621, 14648, 14756, 14809
 
 Version 2.16
 
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>