From: Ulf Hermann Date: Thu, 20 Apr 2017 14:33:28 +0000 (+0200) Subject: Include strings.h to make ffs available X-Git-Tag: elfutils-0.169~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efd60bee71b9613a97bf60fa4f8d4407f8460ccb;p=thirdparty%2Felfutils.git Include strings.h to make ffs available We cannot rely on it to be available from any of the other headers. Signed-off-by: Ulf Hermann --- diff --git a/src/ChangeLog b/src/ChangeLog index 1521d8080..cbb77fc87 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2017-04-20 Ulf Hermann + + * readelf.c: Include strings.h. + 2017-04-20 Ulf Hermann * unstrip.c: Check shnum for 0 before subtracting from it. diff --git a/src/readelf.c b/src/readelf.c index 6f6095d25..40d49139d 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include