public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf: Add #include <sys/param.h> for MAX usage.
@ 2022-06-02 19:20 Carlos O'Donell
  0 siblings, 0 replies; only message in thread
From: Carlos O'Donell @ 2022-06-02 19:20 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=62c888b3375f82a659a55ec66b1315efa2ed026a

commit 62c888b3375f82a659a55ec66b1315efa2ed026a
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Thu Jun 2 10:59:14 2022 -0400

    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.

Diff:
---
 elf/dl-audit.c | 1 +
 1 file changed, 1 insertion(+)

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-02 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 19:20 [glibc] elf: Add #include <sys/param.h> for MAX usage Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).