From 11256a884cae65ebfce0bc98cb5d034e431557c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 4 Apr 2007 13:38:41 +0200 Subject: Check for sys/dvdio.h, and use that if found, rather than having a check for the BSDs. Thanks to Pascal S. de Kloe for pointing at this. --- src/input/input_dvd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input/input_dvd.c') diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index 944ae88bd..14ff8c9e8 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -64,11 +64,11 @@ #endif /* WIN32 */ -#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(HAVE_LINUX_CDROM_H) +#include +#elif defined(HAVE_SYS_DVDIO_H) #include #include /* CDIOCALLOW etc... */ -#elif defined(HAVE_LINUX_CDROM_H) -#include #elif defined(HAVE_SYS_CDIO_H) #include #else -- cgit v1.2.3