public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] elf: Add #include <sys/param.h> for MAX usage.
Date: Thu,  2 Jun 2022 19:20:41 +0000 (GMT)	[thread overview]
Message-ID: <20220602192041.03F2F382FC00@sourceware.org> (raw)

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)


                 reply	other threads:[~2022-06-02 19:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220602192041.03F2F382FC00@sourceware.org \
    --to=carlos@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).