pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: meson: Fix failure to detect bsd_auth.h presence
Date: Wed, 12 Feb 2025 13:18:25 +0000
Message-ID: <E1tiCdF-006kCG-Fb@gemulon.postgresql.org> (raw)

meson: Fix failure to detect bsd_auth.h presence

bsd_auth.h file needs to be included after 'sys/types.h', as documented in
https://man.openbsd.org/authenticate.3

The reason a similar looking stanza works for autoconf is that autoconf
automatically adds AC_INCLUDES_DEFAULT, which in turn includes sys/types.h.

Backpatch to all versions with meson support.

Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/637haqqyhg2wlz7q6wq25m2qupe67g7f2uupngzui64zypy4x2@ysr2xnmynmu4
Backpatch-through: 16

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b64d83115cba32b3baf7bd985fc628efbc2dbc3b

Modified Files
--------------
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1tiCdF-006kCG-Fb@gemulon.postgresql.org>
Permalink:  ../E1tiCdF-006kCG-Fb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tiCdF-006kCG-Fb@gemulon.postgresql.org

 · 

reply

Reply instructions:

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

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: meson: Fix failure to detect bsd_auth.h presence
  In-Reply-To: <E1tiCdF-006kCG-Fb@gemulon.postgresql.org>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox