[libbluray-devel] [Git][videolan/libbluray][master] Fix building on OpenBSD

Petri Hintukainen (@hpi) gitlab at videolan.org
Wed Sep 14 21:16:17 UTC 2022



Petri Hintukainen pushed to branch master at VideoLAN / libbluray


Commits:
0ec3fd07 by Brad Smith at 2022-09-14T21:10:11+00:00
Fix building on OpenBSD

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -52,6 +52,10 @@ case "${host_os}" in
     SYS=netbsd
     CFLAGS="${CFLAGS} -D_NETBSD_SOURCE"
     ;;
+  openbsd*)
+    SYS=openbsd
+    CFLAGS="${CFLAGS} -D_BSD_SOURCE"
+    ;;
   freebsd*)
     SYS=freebsd
     CFLAGS="${CFLAGS} -D_XOPEN_SOURCE=700"



View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/0ec3fd072aa5643127bec3072d048340682d843f

-- 
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/0ec3fd072aa5643127bec3072d048340682d843f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libbluray-devel mailing list