]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add sys/auxv.h wrapper to include/sys/
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 8 Mar 2016 14:16:40 +0000 (15:16 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 8 Mar 2016 20:20:43 +0000 (21:20 +0100)
The GNU libc testsuite fails to build on powerpc/ppc64/ppc64le with the
following error:

    ../sysdeps/powerpc/test-get_hwcap.c:26:22: fatal error: sys/auxv.h: No such file or director

This is because test-get_hwcap.c includes <sys/auxv.h>, but we don't
provide a wrapper in include/sys. This patch adds one.

Changelog:
* include/sys/auxv.h: New file.

ChangeLog
include/sys/auxv.h [new file with mode: 0644]

index 4a7e0191fd2363f88e944eb93b63d21706b242b3..560b4dcd564efdfe286c4ca38699275bbf2104fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * include/sys/auxv.h: New file.
+
 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #19759]
diff --git a/include/sys/auxv.h b/include/sys/auxv.h
new file mode 100644 (file)
index 0000000..dede2c3
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/sys/auxv.h>