Fix tst-memstream3 build failure
commitedbdf872aef70668badadb99df18a91c065b66d7
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sun, 2 Oct 2016 13:24:32 +0000 (2 10:24 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sun, 2 Oct 2016 13:24:32 +0000 (2 10:24 -0300)
tree80cf816136b36859642872eaab3d724472a1488c
parent645f97ced4d4b35deda3f8bde0927f898b163f5d
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.
ChangeLog
libio/tst-memstream3.c