summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-05-04 16:45:59 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-05-04 16:45:59 +0200
commit103cacaacde15ad95564e3327c88ec135c91b230 (patch)
treece32e7119a745f85ea6be84c49d34251892eda19 /src
parentc81f80094b17f05a3e526893a9a21cc9fea87638 (diff)
downloadxine-lib-103cacaacde15ad95564e3327c88ec135c91b230.tar.gz
xine-lib-103cacaacde15ad95564e3327c88ec135c91b230.tar.bz2
Fix building of CDDA input on FreeBSD, the NetBSD patch broke it as sys/scsiio.h is not present on FreeBSD.
Diffstat (limited to 'src')
-rw-r--r--src/input/input_cdda.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index 7dd9ae21a..0b1f046e8 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -617,7 +617,10 @@ static int read_cdrom_frames(cdda_input_plugin_t *this_gen, int frame, int num_f
#elif defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/cdio.h>
+
+#ifdef HAVE_SYS_SCSIIO_H
#include <sys/scsiio.h>
+#endif
static int read_cdrom_toc(int fd, cdrom_toc *toc) {