From 0bb6f834ae95cd434110ab1612563994112d75ac Mon Sep 17 00:00:00 2001 From: Matthias Hopf Date: Mon, 16 Jul 2001 19:36:00 +0000 Subject: IRIX / mips port. Audio and CD support are not implemented yet. Nuked BUILD_LIB_STATIC. Changed some architecture dependend code to feature dependend code. Autoconf'ing CD / DVD ioctl() support. CVS patchset: 288 CVS date: 2001/07/16 19:36:00 --- src/input/input_vcd.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'src/input/input_vcd.c') diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index ee1ea378e..89e08eee0 100644 --- a/src/input/input_vcd.c +++ b/src/input/input_vcd.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_vcd.c,v 1.13 2001/07/10 21:07:55 f1rmb Exp $ + * $Id: input_vcd.c,v 1.14 2001/07/16 19:36:00 mshopf Exp $ */ #ifdef HAVE_CONFIG_H @@ -32,16 +32,19 @@ #include #include #include -#if defined (__linux__) -#include /* Check for DEVFS */ -#include -#elif defined (__FreeBSD__) -#include -#include -#elif defined (__sun) -#include -#else -#error "you need to add cdrom / VCD support for your platform to input_vcd" +#ifdef HAVE_LINUX_CDROM_H +# include /* Check for DEVFS */ +# include +#endif +#ifdef HAVE_SYS_CDIO_H +# include +/* TODO: not clean yet */ +# if defined (__FreeBSD__) +# include +# endif +#endif +#if ! defined (HAVE_LINUX_CDROM_H) && ! defined (HAVE_SYS_CDIO) +#error "you need to add cdrom / VCD support for your platform to input_vcd and configure.in" #endif #include "xine_internal.h" -- cgit v1.2.3