aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>2016-03-31 10:51:51 -0300
committerFlorian Weimer <fweimer@redhat.com>2016-05-09 12:46:36 +0200
commita824d609581d5ee7544aabcbbc70e8da44b2b5b6 (patch)
treeed90d6776cf8fcb63e4e51cbb663c6c1899ed819 /elf
parent80f87443eed17838fe453f1f5406ccf5d3698c25 (diff)
downloadglibc-a824d609581d5ee7544aabcbbc70e8da44b2b5b6.zip
glibc-a824d609581d5ee7544aabcbbc70e8da44b2b5b6.tar.gz
glibc-a824d609581d5ee7544aabcbbc70e8da44b2b5b6.tar.bz2
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)
Diffstat (limited to 'elf')
-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 11b0358..fb084c5 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;