From edbdf872aef70668badadb99df18a91c065b66d7 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Sun, 2 Oct 2016 10:24:32 -0300 Subject: 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. --- libio/tst-memstream3.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libio') diff --git a/libio/tst-memstream3.c b/libio/tst-memstream3.c index 38e5f7d150..b55f256e11 100644 --- a/libio/tst-memstream3.c +++ b/libio/tst-memstream3.c @@ -18,6 +18,7 @@ #include #include +#include #include #include -- cgit v1.2.3