v4l_2.6.38.patch
cap_v4l.cpp (working copy) | ||
---|---|---|
214 | 214 |
#include <sys/types.h> |
215 | 215 |
#include <sys/mman.h> |
216 | 216 | |
217 |
#include <linux/videodev.h>
|
|
217 |
#include <libv4l1-videodev.h>
|
|
218 | 218 | |
219 | 219 |
#include <string.h> |
220 | 220 |
#include <stdlib.h> |
cap_libv4l.cpp (working copy) | ||
---|---|---|
224 | 224 |
#include "highgui.h" |
225 | 225 |
#include "precomp.hpp" |
226 | 226 | |
227 |
#if !defined WIN32 && defined HAVE_CAMV4L && defined HAVE_CAMV4L2
|
|
227 |
#if !defined WIN32 && defined HAVE_CAMV4L2 |
|
228 | 228 | |
229 | 229 |
#define CLEAR(x) memset (&(x), 0, sizeof (x)) |
230 | 230 | |
... | ... | |
241 | 241 |
#include <sys/stat.h> |
242 | 242 |
#include <sys/ioctl.h> |
243 | 243 | |
244 |
#include <linux/videodev.h>
|
|
244 |
#include <libv4l1-videodev.h>
|
|
245 | 245 |
#include <linux/videodev2.h> |
246 | 246 | |
247 | 247 |
#include <libv4l1.h> |