summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-09-02 19:48:07 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:15:49 +0200
commit8172eec08ddab82f797297dffb60a9d56cae2f85 (patch)
tree4ec2fd2acae43650742713fb6239b81c58ea159d /configure
parent039574d8d4a322ccddcd7f068b47e9f6aa955529 (diff)
downloadmpv-8172eec08ddab82f797297dffb60a9d56cae2f85.tar.bz2
mpv-8172eec08ddab82f797297dffb60a9d56cae2f85.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index beeaba996e..18033f87aa 100755
--- a/configure
+++ b/configure
@@ -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