mirror of
https://github.com/mpv-player/mpv
synced 2025-04-11 04:01:31 +00:00
configure: Attempt to fix compilation with FreeBSD's dvdio.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32039 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
039574d8d4
commit
8172eec08d
3
configure
vendored
3
configure
vendored
@ -3501,7 +3501,8 @@ echores "$_soundcard_h"
|
|||||||
|
|
||||||
echocheck "sys/dvdio.h"
|
echocheck "sys/dvdio.h"
|
||||||
_dvdio=no
|
_dvdio=no
|
||||||
header_check sys/dvdio.h && _dvdio=yes
|
# FreeBSD 8.1 has broken dvdio.h
|
||||||
|
header_check_broken sys/types.h sys/dvdio.h && _dvdio=yes
|
||||||
if test "$_dvdio" = yes ; then
|
if test "$_dvdio" = yes ; then
|
||||||
def_dvdio='#define DVD_STRUCT_IN_SYS_DVDIO_H 1'
|
def_dvdio='#define DVD_STRUCT_IN_SYS_DVDIO_H 1'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user