]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Include <sys/param.h> in cache.c
authorFlorian Weimer <fweimer@redhat.com>
Thu, 10 Dec 2020 14:47:26 +0000 (15:47 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 10 Dec 2020 14:47:26 +0000 (15:47 +0100)
The roundup macro is defined there.  Relying on an indirect
definition is brittle.

elf/cache.c

index b03c5319f805f3f7a7c53bb6ae3a709d5b24e293..88a730e1dcdd36b93634bbb7c46f67a52d4babe1 100644 (file)
@@ -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>