From 32148d715fdc9970b9add10855f8689d84240126 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 6 Dec 2017 19:24:36 -0500 Subject: contrib: Make libbluray build compatible with FreeBSD. --- contrib/libbluray/module.defs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/libbluray/module.defs b/contrib/libbluray/module.defs index 061811415..f495f1ea6 100644 --- a/contrib/libbluray/module.defs +++ b/contrib/libbluray/module.defs @@ -19,3 +19,7 @@ endif ifeq (mingw,$(BUILD.system)) LIBBLURAY.GCC.D += MINGW_HAS_SECURE_API=1 endif + +ifeq (freebsd,$(BUILD.system)) + LIBBLURAY.GCC.D += _XOPEN_SOURCE=700 +endif -- cgit v1.2.3