mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
v4l2: Include sys/ioctl.h for the V4L ioctl requests
Old videodevice2.h kernel headers used ioctl stuff without including ioctl.h, making compilation fail on older systems. Note: Including ioctl.h here is only a workaround for old kernel headers, should be removed once everybody has new enough headers. Fixes bug #597867.
This commit is contained in:
parent
993a29a390
commit
f10435580f
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
* upstream, which I'll consider doing later on. If you get compiler
|
||||
* errors here, check your linux/time.h && sys/time.h header setup.
|
||||
*/
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef __sun
|
||||
#include <linux/types.h>
|
||||
|
|
Loading…
Reference in a new issue