gstreamer/sys/v4l2codecs/linux
Ting-Wei Lan d10e2381c7 v4l2codecs: Fix compilation error on FreeBSD
This commit does the following things to fix compilation on FreeBSD:

1. Add required typedefs to linux/types-compat.h.
2. Remove unnecessary include linux/ioctl.h and replace linux/types.h
   with linux/types-compat.h. Both files do not exist on FreeBSD.
3. Check the header including makedev macro. FreeBSD does not have
   sys/sysmacros.h, and including it unconditionally causes error.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1259>
2020-05-11 15:17:31 +00:00
..
h264-ctrls.h v4l2codecs: Copy all needed Linux kernel headers 2020-03-31 09:34:05 -04:00
media.h v4l2codecs: Fix compilation error on FreeBSD 2020-05-11 15:17:31 +00:00
types-compat.h v4l2codecs: Fix compilation error on FreeBSD 2020-05-11 15:17:31 +00:00
v4l2-common.h v4l2codecs: Copy all needed Linux kernel headers 2020-03-31 09:34:05 -04:00
v4l2-controls.h v4l2codecs: Copy all needed Linux kernel headers 2020-03-31 09:34:05 -04:00
videodev2.h v4l2codecs: Copy all needed Linux kernel headers 2020-03-31 09:34:05 -04:00
vp8-ctrls.h v4l2codecs: Add VP8 decoder 2020-04-28 22:53:11 +00:00