From cfd21368e1eaaad3ab1659fb221e1d4241fac7cf Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 8 Jul 2008 19:28:59 +0200 Subject: Fix compile of input_vcd for ming32 HAVE_FREEBSD_CDROM is not defined for mingw which results in just some stub code. However, the include of breaks the default build. Moving this #incldue into the conditional HAVE_FREEBSD_CDROM block helps. --HG-- extra : transplant_source : %3D1%FEt%90%F0qS%F18%D9%AA%5By%0C%9AN%87%A6%1F --- src/input/vcd/libcdio/FreeBSD/freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/vcd/libcdio/FreeBSD/freebsd.c b/src/input/vcd/libcdio/FreeBSD/freebsd.c index 5a3443e95..bcfe674a5 100644 --- a/src/input/vcd/libcdio/FreeBSD/freebsd.c +++ b/src/input/vcd/libcdio/FreeBSD/freebsd.c @@ -29,11 +29,11 @@ static const char _rcsid[] = "$Id: freebsd.c,v 1.1 2005/01/01 02:43:57 rockyb Exp $"; -#include #include "freebsd.h" #ifdef HAVE_FREEBSD_CDROM +#include #include static access_mode_t -- cgit v1.2.3