b1dca6
commit 880433de13fa31e52587720f81b762a6c7797e4e
b1dca6
Author: Florian Weimer <fweimer@redhat.com>
b1dca6
Date:   Thu Dec 10 15:47:26 2020 +0100
b1dca6
b1dca6
    elf: Include <sys/param.h> in cache.c
b1dca6
    
b1dca6
    The roundup macro is defined there.  Relying on an indirect
b1dca6
    definition is brittle.
b1dca6
b1dca6
diff --git a/elf/cache.c b/elf/cache.c
b1dca6
index dde3d7fefa4105f9..fdfedb0964bcd217 100644
b1dca6
--- a/elf/cache.c
b1dca6
+++ b/elf/cache.c
b1dca6
@@ -29,6 +29,7 @@
b1dca6
 #include <stdint.h>
b1dca6
 #include <sys/fcntl.h>
b1dca6
 #include <sys/mman.h>
b1dca6
+#include <sys/param.h>
b1dca6
 #include <sys/stat.h>
b1dca6
 #include <sys/types.h>
b1dca6