NetBSD video(4) support, patch 3 of 3

xioctl() assumes that ioctl takes int request. Cope with
  int ioctl(int d, unsigned long request, ...)
to avoid "invalid argument".
This commit is contained in:
Patrick Welche
2012-09-17 14:46:54 +02:00
committed by Andrey Kamaev
parent 681ffd9a21
commit 1a84bcc565
4 changed files with 18 additions and 4 deletions

View File

@@ -25,6 +25,9 @@
/* V4L/V4L2 capturing support via libv4l */
#cmakedefine HAVE_LIBV4L
/* ioctl takes unsigned long request rather than int */
#cmakedefine HAVE_IOCTL_ULONG
/* Carbon windowing environment */
#cmakedefine HAVE_CARBON