Fix V4L2 includes on OpenBSD
This commit is contained in:
parent
e6e8c381bb
commit
4ca654da50
1 changed files with 4 additions and 0 deletions
|
@ -23,7 +23,11 @@
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#ifdef __OpenBSD__
|
||||||
|
#include <sys/videoio.h>
|
||||||
|
#else
|
||||||
#include <linux/videodev2.h>
|
#include <linux/videodev2.h>
|
||||||
|
#endif
|
||||||
#include "camera.h"
|
#include "camera.h"
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
|
|
Loading…
Reference in a new issue