mirror of git://sourceware.org/git/glibc.git
Fix tst-memstream3 build failure
Add string.h to avoid tst-memstream3 build failure in some environments:
tst-memstream3.c:32:17: error: implicit declaration of function 'strcmp' [-Werror=implicit-function-declaration]
# define STRCMP strcmp
^
tst-memstream3.c:96:7: note: in expansion of macro 'STRCMP'
if (STRCMP (buf, W("b")) != 0)
Checked on x86_64.
* libio/tst-memstream3.c: Include string.h.
This commit is contained in:
parent
645f97ced4
commit
edbdf872ae
|
|
@ -1,3 +1,7 @@
|
|||
2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
* libio/tst-memstream3.c: Include string.h.
|
||||
|
||||
2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
[BZ #18241]
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <mcheck.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue