pgsql: meson: Fix failure to detect bsd_auth.h presence - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: meson: Fix failure to detect bsd_auth.h presence
Date
Msg-id E1tiCdF-006kCK-Gc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/01cdb98e446aadd10132574d7e9fa4470d17b45e

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


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix issue in recovery test 041_checkpoint_at_promote
Next
From: Andres Freund
Date:
Subject: pgsql: ci: Test NetBSD and OpenBSD