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:
reimar 2010-09-02 19:48:07 +00:00 committed by Uoti Urpala
parent 039574d8d4
commit 8172eec08d
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -3501,7 +3501,8 @@ echores "$_soundcard_h"
echocheck "sys/dvdio.h"
_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
def_dvdio='#define DVD_STRUCT_IN_SYS_DVDIO_H 1'
else