]> gitweb @ CieloNegro.org - pkgsrc-cinelerra-cv.git/blob - patches/patch-cdripper_h
shmmax patch
[pkgsrc-cinelerra-cv.git] / patches / patch-cdripper_h
1 $NetBSD$
2
3 --- plugins/cdripper/cdripper.h.orig    2010-02-01 08:26:23.000000000 +0000
4 +++ plugins/cdripper/cdripper.h
5 @@ -24,7 +24,9 @@
6  
7  #include "pluginaclient.h"
8  
9 -#include <linux/cdrom.h>
10 +#if defined(HAVE_LINUX_CDROM_H)
11 +#  include <linux/cdrom.h>
12 +#endif
13  
14  #define NFRAMES    2
15  #define FRAMESIZE  2352
16 @@ -58,7 +60,9 @@ public:
17         int close_drive();
18  
19  // Current state of process_loop
20 +#if defined(HAVE_LINUX_CDROM_H)
21         struct cdrom_read_audio arg;
22 +#endif
23         int FRAME;    // 2 bytes 2 channels
24         int previewing;     // defeat bug in hardware
25         int64_t fragment_length;