about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;