| 1 | Author: Pino Toscano <[email protected]> |
| 2 | Description: Add proper Hurd-specific _IOT defines for the video1394_mmap and |
| 3 | video1394_wait structs. |
| 4 | --- |
| 5 | encodedv/dvconnect.c | 7 +++++++ |
| 6 | 1 file changed, 7 insertions(+) |
| 7 | |
| 8 | --- libdv.orig/encodedv/dvconnect.c |
| 9 | +++ libdv/encodedv/dvconnect.c |
| 10 | @@ -117,6 +117,13 @@ struct video1394_wait |
| 11 | #define VIDEO1394_LISTEN_POLL_BUFFER \ |
| 12 | _IOWR('#', 0x18, struct video1394_wait) |
| 13 | |
| 14 | +#ifdef __GNU__ |
| 15 | +#define _IOT_video1394_mmap \ |
| 16 | + _IOT(_IOTS(int), 1, _IOTS(unsigned int), 7, 0, 0) |
| 17 | +#define _IOT_video1394_wait \ |
| 18 | + _IOT(_IOTS(unsigned int), 2, _IOTS(struct timeval), 1, 0, 0) |
| 19 | +#endif |
| 20 | + |
| 21 | static int cap_start_frame = 0; |
| 22 | static int cap_num_frames = 0xfffffff; |
| 23 | static int cap_verbose_mode; |