diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-12-10 15:47:26 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-12-10 15:47:26 +0100 |
commit | 880433de13fa31e52587720f81b762a6c7797e4e (patch) | |
tree | 219b809be1363739d881b1f29d92fd12ef4af47e | |
parent | fdf8fbca455ca3ef57235bde907bcc6a624ac5aa (diff) | |
download | glibc-880433de13fa31e52587720f81b762a6c7797e4e.tar.gz glibc-880433de13fa31e52587720f81b762a6c7797e4e.tar.xz glibc-880433de13fa31e52587720f81b762a6c7797e4e.zip |
elf: Include <sys/param.h> in cache.c
The roundup macro is defined there. Relying on an indirect definition is brittle.
-rw-r--r-- | elf/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/cache.c b/elf/cache.c index b03c5319f8..88a730e1dc 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -29,6 +29,7 @@ #include <stdint.h> #include <sys/fcntl.h> #include <sys/mman.h> +#include <sys/param.h> #include <sys/stat.h> #include <sys/types.h> |