Merge pull request #13 from czarkoff/openbsd
Fix V4L2 includes on OpenBSD
This commit is contained in:
commit
271173c1f5
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