Skip to content

Commit 0e02f72

Browse files
committed
depends: define __BSD_VISIBLE for FreeBSD bdb build
Required for additional definitions (IPC_R & friends), to be available, when compiling under C11. See: maflcko/b-c-nightly#4.
1 parent 79e18eb commit 0e02f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

depends/packages/bdb.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $(package)_config_opts_netbsd=--with-pic
1515
$(package)_config_opts_openbsd=--with-pic
1616
$(package)_config_opts_android=--with-pic
1717
$(package)_cflags+=-Wno-error=implicit-function-declaration -Wno-error=format-security
18-
$(package)_cppflags_freebsd=-D_XOPEN_SOURCE=600
18+
$(package)_cppflags_freebsd=-D_XOPEN_SOURCE=600 -D__BSD_VISIBLE=1
1919
$(package)_cppflags_netbsd=-D_XOPEN_SOURCE=600
2020
$(package)_cppflags_openbsd=-D_XOPEN_SOURCE=600
2121
$(package)_cppflags_mingw32=-DUNICODE -D_UNICODE

0 commit comments

Comments
 (0)