about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2022-06-02 10:59:14 -0400
committerCarlos O'Donell <carlos@redhat.com>2022-06-02 15:20:36 -0400
commit62c888b3375f82a659a55ec66b1315efa2ed026a (patch)
treea31ddb3fa161d5db742198ea30f1d77c847c39a1 /elf
parent1002f1af1ca954f6bb8fbda67fccdb7a4b0055cd (diff)
downloadglibc-62c888b3375f82a659a55ec66b1315efa2ed026a.tar.gz
glibc-62c888b3375f82a659a55ec66b1315efa2ed026a.tar.xz
glibc-62c888b3375f82a659a55ec66b1315efa2ed026a.zip
elf: Add #include <sys/param.h> for MAX usage.
In _dl_audit_pltenter we use MAX and so need to include param.h.

Tested on x86_64 and i686 without regression.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-audit.c1
1 files changed, 1 insertions, 0 deletions
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)