From efd60bee71b9613a97bf60fa4f8d4407f8460ccb Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 20 Apr 2017 16:33:28 +0200 Subject: 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 --- src/ChangeLog | 4 ++++ src/readelf.c | 1 + 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index 1521d808..cbb77fc8 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 6f6095d2..40d49139 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.1