about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>2016-03-31 10:51:51 -0300
committerMike Frysinger <vapier@gentoo.org>2016-11-12 00:44:30 -0500
commit7ee3626a10e5b1cee042dc62cb7ca8d270de33a7 (patch)
tree79ca5846383adacf2cafe83038117ed1310653e0
parentf141e27aba2e65cc1c556b8a616bfc6029fee2c2 (diff)
downloadglibc-7ee3626a10e5b1cee042dc62cb7ca8d270de33a7.tar.gz
glibc-7ee3626a10e5b1cee042dc62cb7ca8d270de33a7.tar.xz
glibc-7ee3626a10e5b1cee042dc62cb7ca8d270de33a7.zip
Fix tst-dlsym-error build
This patch fixes the new test tst-dlsym-error build on aarch64
(and possible other architectures as well) due missing strchrnul
definition.

	* elf/tst-dlsym-error.c: Include <string.h> for strchrnul.

(cherry picked from commit e91bd7465816f474617dcb4bbfe72f3594c5783c)
(cherry picked from commit a824d609581d5ee7544aabcbbc70e8da44b2b5b6)
-rw-r--r--elf/tst-dlsym-error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/tst-dlsym-error.c b/elf/tst-dlsym-error.c
index 11b035881d..fb084c510c 100644
--- a/elf/tst-dlsym-error.c
+++ b/elf/tst-dlsym-error.c
@@ -20,6 +20,7 @@
 #include <gnu/lib-names.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 /* Used to disambiguate symbol names.  */
 static int counter;