v4l2: include <sys/ioccom.h> on Illumos

Needed for _IOR/_IORW

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1524>
This commit is contained in:
Tim Mooney 2022-01-14 23:42:27 -06:00 committed by GStreamer Marge Bot
parent a5c9e2d6aa
commit 54a1f60077
2 changed files with 10 additions and 0 deletions

View file

@ -40,6 +40,11 @@
# endif
#endif
#if defined(__sun)
/* for _IOR/_IORW on Illumos distros */
#include <sys/ioccom.h>
#endif
#ifndef __bitwise
# ifdef __CHECK_ENDIAN__
# define __bitwise __bitwise__

View file

@ -40,6 +40,11 @@
# endif
#endif
#if defined(__sun)
/* for _IOR/_IORW on Illumos distros */
#include <sys/ioccom.h>
#endif
#ifndef __bitwise
# ifdef __CHECK_ENDIAN__
# define __bitwise __bitwise__