summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>2016-03-31 10:51:51 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>2016-03-31 10:51:51 -0300
commite91bd7465816f474617dcb4bbfe72f3594c5783c (patch)
treee35101f2e264145c0a2bbef5a0fe797b07a9049b
parent7d45c163d00c88d5875a112343c4ea3e61349e6b (diff)
downloadglibc-e91bd7465816f474617dcb4bbfe72f3594c5783c.tar.gz
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.
-rw-r--r--ChangeLog4
-rw-r--r--elf/tst-dlsym-error.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 33d2377ab6..4fc73b13b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
+
2016-03-31 Florian Weimer <fweimer@redhat.com>
[BZ #19509]
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;