summaryrefslogtreecommitdiff
path: root/elf/tst-dlsym-error.c
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 /elf/tst-dlsym-error.c
parent7d45c163d00c88d5875a112343c4ea3e61349e6b (diff)
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.
Diffstat (limited to 'elf/tst-dlsym-error.c')
-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;