about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2016-06-06 11:03:04 +0200
committerStefan Liebler <stli@linux.vnet.ibm.com>2016-06-06 11:03:04 +0200
commitb5537473c2ccb6874985e3d2bc0a0c7e204213bd (patch)
treed05488c2f1f3d44325203aad2150e26a01d616d0 /ChangeLog
parentb9f5c3acc01a836369b9cbc3fc50ca550261a185 (diff)
downloadglibc-b5537473c2ccb6874985e3d2bc0a0c7e204213bd.tar.gz
glibc-b5537473c2ccb6874985e3d2bc0a0c7e204213bd.tar.xz
glibc-b5537473c2ccb6874985e3d2bc0a0c7e204213bd.zip
tst-rec-dlopen: Fix build fail due to missing inclusion of string.h
on S390, I get a compile error for dlfcn/tst-rec-dlopen.c:
tst-rec-dlopen.c: In function ‘malloc’:
tst-rec-dlopen.c:101:4: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
    (void) write (STDOUT_FILENO, message, strlen (message));
    ^
tst-rec-dlopen.c:101:42: error: incompatible implicit declaration of built-in function ‘strlen’ [-Werror]
    (void) write (STDOUT_FILENO, message, strlen (message));
                                          ^
tst-rec-dlopen.c:112:42: error: incompatible implicit declaration of built-in function ‘strlen’ [-Werror]
    (void) write (STDOUT_FILENO, message, strlen (message));
                                          ^

This patch adds the missing "#include <string.h>" for strlen.

ChangeLog:

	* dlfcn/tst-rec-dlopen.c: Include string.h.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84738f52ea..3cec387730 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+	* dlfcn/tst-rec-dlopen.c: Include string.h.
+
 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
 	* manual/install.texi: Remove mention of --without-tls