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