]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Add #include <sys/param.h> for MAX usage.
authorCarlos O'Donell <carlos@redhat.com>
Thu, 2 Jun 2022 14:59:14 +0000 (10:59 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Thu, 2 Jun 2022 19:20:36 +0000 (15:20 -0400)
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

index efc04924745a083df0088e5e0f44880101814b98..93770f50c7244e3e65f773cf4ff4b0675ef7b14e 100644 (file)
@@ -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)