changeset 31955:5c2b199e78d5

Attempt to fix compilation with FreeBSD's dvdio.h
author reimar
date Thu, 02 Sep 2010 19:48:07 +0000
parents 7eaaed7331f3
children a6c25d94e60e
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Aug 31 19:39:17 2010 +0000
+++ b/configure	Thu Sep 02 19:48:07 2010 +0000
@@ -3788,7 +3788,8 @@
 
 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