abe59f
commit 62c888b3375f82a659a55ec66b1315efa2ed026a
abe59f
Author: Carlos O'Donell <carlos@redhat.com>
abe59f
Date:   Thu Jun 2 10:59:14 2022 -0400
abe59f
abe59f
    elf: Add #include <sys/param.h> for MAX usage.
abe59f
    
abe59f
    In _dl_audit_pltenter we use MAX and so need to include param.h.
abe59f
    
abe59f
    Tested on x86_64 and i686 without regression.
abe59f
abe59f
diff --git a/elf/dl-audit.c b/elf/dl-audit.c
abe59f
index ec9b032eae37c103..e20b7b40e08d79e7 100644
abe59f
--- a/elf/dl-audit.c
abe59f
+++ b/elf/dl-audit.c
abe59f
@@ -22,6 +22,7 @@
abe59f
 #include <dl-machine.h>
abe59f
 #include <dl-runtime.h>
abe59f
 #include <dl-fixup-attribute.h>
abe59f
+#include <sys/param.h>
abe59f
 
abe59f
 void
abe59f
 _dl_audit_activity_map (struct link_map *l, int action)