From 103cacaacde15ad95564e3327c88ec135c91b230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 4 May 2007 16:45:59 +0200 Subject: Fix building of CDDA input on FreeBSD, the NetBSD patch broke it as sys/scsiio.h is not present on FreeBSD. --- src/input/input_cdda.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 + +#ifdef HAVE_SYS_SCSIIO_H #include +#endif static int read_cdrom_toc(int fd, cdrom_toc *toc) { -- cgit v1.2.3