summaryrefslogtreecommitdiffstats
path: root/contrib/libbluray/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libbluray/module.defs')
-rw-r--r--contrib/libbluray/module.defs4
1 files changed, 4 insertions, 0 deletions
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