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