$NetBSD$ --- plugins/cdripper/cdripper.h.orig 2010-01-29 08:54:10.000000000 +0000 +++ plugins/cdripper/cdripper.h @@ -24,7 +24,9 @@ #include "pluginaclient.h" -#include +#if defined(HAVE_LINUX_CDROM_H) +# include +#endif #define NFRAMES 2 #define FRAMESIZE 2352 @@ -58,7 +60,9 @@ public: int close_drive(); // Current state of process_loop +#if defined(HAVE_LINUX_CDROM_H) struct cdrom_read_audio arg; +#endif int FRAME; // 2 bytes 2 channels int previewing; // defeat bug in hardware int64_t fragment_length;