Fix V4L2 includes on OpenBSD

This commit is contained in:
Dmitrij D. Czarkoff 2016-08-11 01:06:51 +02:00
parent e6e8c381bb
commit 4ca654da50

View file

@ -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"
/************************************************************************ /************************************************************************