diff options
author | fanquake <fanquake@gmail.com> | 2023-01-30 12:04:47 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-01-30 13:43:24 +0000 |
commit | 0e02f725482dd30b9f03903074a481af1164411d (patch) | |
tree | 002153fb220f8d8531b8e29e7b8f394872586ee2 /depends/packages/bdb.mk | |
parent | 79e18ebc81f112f989ff50fb6f5a6a17db9b6758 (diff) |
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.
Diffstat (limited to 'depends/packages/bdb.mk')
-rw-r--r-- | depends/packages/bdb.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/bdb.mk b/depends/packages/bdb.mk index 262587690c..d607336059 100644 --- a/depends/packages/bdb.mk +++ b/depends/packages/bdb.mk @@ -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 |