aboutsummaryrefslogtreecommitdiff
path: root/elf
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 /elf
parentfdf8fbca455ca3ef57235bde907bcc6a624ac5aa (diff)
downloadglibc-880433de13fa31e52587720f81b762a6c7797e4e.zip
glibc-880433de13fa31e52587720f81b762a6c7797e4e.tar.gz
glibc-880433de13fa31e52587720f81b762a6c7797e4e.tar.bz2
elf: Include <sys/param.h> in cache.c
The roundup macro is defined there. Relying on an indirect definition is brittle.
Diffstat (limited to 'elf')
-rw-r--r--elf/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/cache.c b/elf/cache.c
index b03c531..88a730e 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>