summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2017-12-06 19:24:36 -0500
committerBradley Sepos <[email protected]>2017-12-06 19:47:36 -0500
commit32148d715fdc9970b9add10855f8689d84240126 (patch)
treecdf2d7ef277ed6458b2b1381a7be4754cebaad23 /contrib
parent2845916d68a5697765101afab46bf47cb32a7db7 (diff)
contrib: Make libbluray build compatible with FreeBSD.
Diffstat (limited to 'contrib')
-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