aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-12-10 15:47:26 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-12-10 15:47:26 +0100
commit880433de13fa31e52587720f81b762a6c7797e4e (patch)
tree219b809be1363739d881b1f29d92fd12ef4af47e
parentfdf8fbca455ca3ef57235bde907bcc6a624ac5aa (diff)
downloadglibc-880433de13fa31e52587720f81b762a6c7797e4e.tar
glibc-880433de13fa31e52587720f81b762a6c7797e4e.tar.gz
glibc-880433de13fa31e52587720f81b762a6c7797e4e.tar.bz2
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.c1
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>