Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9a1d21

Browse files
committed
meson: Fix failure to detect bsd_auth.h presence
bsd_auth.h file needs to be included after 'sys/types.h', as documented inhttps://man.openbsd.org/authenticate.3The reason a similar looking stanza works for autoconf is that autoconfautomatically 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@ysr2xnmynmu4Backpatch-through: 16
1 parent3dea7af commitc9a1d21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ test_c_args = cppflags + cflags
547547
bsd_authopt=get_option('bsd_auth')
548548
bsd_auth= not_found_dep
549549
if cc.check_header('bsd_auth.h',required: bsd_authopt,
550-
args: test_c_args,include_directories: postgres_inc)
550+
args: test_c_args,prefix:'#include <sys/types.h>',
551+
include_directories: postgres_inc)
551552
cdata.set('USE_BSD_AUTH',1)
552553
bsd_auth=declare_dependency()
553554
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp