]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix tst-dlsym-error build
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>
Thu, 31 Mar 2016 13:51:51 +0000 (10:51 -0300)
committerMike Frysinger <vapier@gentoo.org>
Sat, 12 Nov 2016 05:44:30 +0000 (00:44 -0500)
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)

elf/tst-dlsym-error.c

index 11b035881dcfd96ec9e5fe095d3cbbe032ffe2f6..fb084c510c7d8b783f661dc5d2e0e4b8e970879f 100644 (file)
@@ -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;