cdparanoiasrc: fix build on OSX by #undef-ing VERSION before including system headers
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 30 May 2010 12:21:00 +0000 (13:21 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 17 May 2011 07:20:08 +0000 (09:20 +0200)
commit74cc9865939d97cfafeb3aad94dc1596773ef82e
tree84fd145ecbe2714b465e92c903ea1c6a1495b29b
parenteba4a948fb28216390bd66fe0e890086007196b3
cdparanoiasrc: fix build on OSX by #undef-ing VERSION before including system headers

On OSX the cdparanoia headers include IOKit framework headers (in particular
SCSICmds_INQUIRY_Definitions.h) which define a structure that has a member
named VERSION, so we must #undef VERSION before including those for things
to compile on OSX.

Fixes #609918.
ext/cdparanoia/gstcdparanoiasrc.c
ext/cdparanoia/gstcdparanoiasrc.h