depends: define `__BSD_VISIBLE` for FreeBSD bdb build

Required for additional definitions (IPC_R & friends), to be available,
when compiling under C11.

See: https://github.com/MarcoFalke/btc_nightly/pull/4.
pull/26994/head
fanquake 2 years ago
parent 79e18ebc81
commit 0e02f72548
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -15,7 +15,7 @@ $(package)_config_opts_netbsd=--with-pic
$(package)_config_opts_openbsd=--with-pic
$(package)_config_opts_android=--with-pic
$(package)_cflags+=-Wno-error=implicit-function-declaration -Wno-error=format-security
$(package)_cppflags_freebsd=-D_XOPEN_SOURCE=600
$(package)_cppflags_freebsd=-D_XOPEN_SOURCE=600 -D__BSD_VISIBLE=1
$(package)_cppflags_netbsd=-D_XOPEN_SOURCE=600
$(package)_cppflags_openbsd=-D_XOPEN_SOURCE=600
$(package)_cppflags_mingw32=-DUNICODE -D_UNICODE

Loading…
Cancel
Save