forked from mirrors/gecko-dev
Bug 1847500: include the proper v4l2 header on OpenBSD/NetBSD/solaris r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D187209
This commit is contained in:
parent
3239f47236
commit
7ad9139e0b
1 changed files with 6 additions and 0 deletions
|
|
@ -9,7 +9,13 @@
|
|||
#include <cstdlib>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#include <sys/videoio.h>
|
||||
#elif defined(__sun)
|
||||
#include <sys/videodev2.h>
|
||||
#else
|
||||
#include <linux/videodev2.h>
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue