From: Matthias R. <mri...@in...> - 2008-07-08 18:50:58
|
# HG changeset patch # User Matthias Ringwald <mri...@in...> # Date 1215538139 -7200 # Node ID 6de745773f0b4d34a9796230f00d3bd054608aea # Parent 227250e9519f6f5797c5c187e44f651432483305 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 <arpa/inet.h> breaks the default build. Moving this #incldue into the conditional HAVE_FREEBSD_CDROM block helps. diff -r 6de745773f0b4d34a9796230f00d3bd054608aea -r 227250e9519f6f5797c5c187e44f651432483305 src/input/vcd/libcdio/FreeBSD/freebsd.c --- a/src/input/vcd/libcdio/FreeBSD/freebsd.c Tue Jul 08 19:28:59 2008 +0200 +++ b/src/input/vcd/libcdio/FreeBSD/freebsd.c Tue Jul 08 09:48:18 2008 +0200 @@ -29,11 +29,11 @@ static const char _rcsid[] = "$Id: freebsd.c,v 1.1 2005/01/01 02:43:57 rockyb Exp $"; +#include "freebsd.h" + +#ifdef HAVE_FREEBSD_CDROM + #include <arpa/inet.h> -#include "freebsd.h" - -#ifdef HAVE_FREEBSD_CDROM - #include <cdio/sector.h> static access_mode_t |