Add proper Hurd-specific _IOT defines for the video1394_mmap and

video1394_wait structs.

Gbp-Pq: Name 0002-hurd_ftbfs_fix.patch
This commit is contained in:
Pino Toscano 2022-05-14 00:43:58 +08:00 committed by openKylinBot
parent 18cc3ab773
commit 9136e4d3df
1 changed files with 7 additions and 0 deletions

View File

@ -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;