summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Ringwald <mringwal@inf.ethz.ch>2008-07-08 19:28:59 +0200
committerMatthias Ringwald <mringwal@inf.ethz.ch>2008-07-08 19:28:59 +0200
commitcfd21368e1eaaad3ab1659fb221e1d4241fac7cf (patch)
tree190e057d752fe882c9d377c92f66bc767c4ccae2
parentb19a5388d45428a47e708e1aa44dbc3684bc8df8 (diff)
downloadxine-lib-cfd21368e1eaaad3ab1659fb221e1d4241fac7cf.tar.gz
xine-lib-cfd21368e1eaaad3ab1659fb221e1d4241fac7cf.tar.bz2
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. --HG-- extra : transplant_source : %3D1%FEt%90%F0qS%F18%D9%AA%5By%0C%9AN%87%A6%1F
-rw-r--r--src/input/vcd/libcdio/FreeBSD/freebsd.c2
1 files changed, 1 insertions, 1 deletions
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 <arpa/inet.h>
#include "freebsd.h"
#ifdef HAVE_FREEBSD_CDROM
+#include <arpa/inet.h>
#include <cdio/sector.h>
static access_mode_t