diff --git a/encodedv/dvconnect.c b/encodedv/dvconnect.c index f276846..10be339 100644 --- a/encodedv/dvconnect.c +++ b/encodedv/dvconnect.c @@ -117,6 +117,13 @@ struct video1394_wait #define VIDEO1394_LISTEN_POLL_BUFFER \ _IOWR('#', 0x18, struct video1394_wait) +#ifdef __GNU__ +#define _IOT_video1394_mmap \ + _IOT(_IOTS(int), 1, _IOTS(unsigned int), 7, 0, 0) +#define _IOT_video1394_wait \ + _IOT(_IOTS(unsigned int), 2, _IOTS(struct timeval), 1, 0, 0) +#endif + static int cap_start_frame = 0; static int cap_num_frames = 0xfffffff; static int cap_verbose_mode;