diff mbox series

[COMMITTED] elf: Add #include <sys/param.h> for MAX usage.

Message ID 20220602192053.2285351-1-carlos@redhat.com
State New
Headers show
Series [COMMITTED] elf: Add #include <sys/param.h> for MAX usage. | expand

Commit Message

Carlos O'Donell June 2, 2022, 7:20 p.m. UTC
In _dl_audit_pltenter we use MAX and so need to include param.h.

Tested on x86_64 and i686 without regression.
---
 elf/dl-audit.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/elf/dl-audit.c b/elf/dl-audit.c
index efc0492474..93770f50c7 100644
--- a/elf/dl-audit.c
+++ b/elf/dl-audit.c
@@ -22,6 +22,7 @@ 
 #include <dl-machine.h>
 #include <dl-runtime.h>
 #include <dl-fixup-attribute.h>
+#include <sys/param.h>
 
 void
 _dl_audit_activity_map (struct link_map *l, int action)