X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-cinelerra-cv.git;a=blobdiff_plain;f=patches%2Fpatch-cdripper_h;fp=patches%2Fpatch-cdripper_h;h=a7ed9cedee0457debdb53c10cf668a31a6dbe26f;hp=8b457a7825ba59ea1fd2de341693fd0a13460890;hb=8b050a68db48f7b9e6402a9a19c4898ef636ab83;hpb=eb36dc125c0fbb36e7b01e18a64f8b1eed4bd8b2 diff --git a/patches/patch-cdripper_h b/patches/patch-cdripper_h index 8b457a7..a7ed9ce 100644 --- a/patches/patch-cdripper_h +++ b/patches/patch-cdripper_h @@ -2,12 +2,24 @@ $NetBSD$ --- plugins/cdripper/cdripper.h.orig 2010-01-29 08:54:10.000000000 +0000 +++ plugins/cdripper/cdripper.h -@@ -24,8 +24,6 @@ +@@ -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;