kopia lustrzana https://gitlab.com/sane-project/backends
Try to not include linux/videodev2.h to avoid compilation errors.
rodzic
3c18d9a960
commit
5b6f9b8a5c
|
@ -73,6 +73,13 @@
|
||||||
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <asm/types.h> /* XXX glibc */
|
#include <asm/types.h> /* XXX glibc */
|
||||||
|
|
||||||
|
/* Avoid inclusion of <linux/videodev2.h> from <linux/videodev.h>.
|
||||||
|
* It includes <linux/time.h> which redefines some structs from <sys/time.h>.
|
||||||
|
* It doesn't matter at the moment, because we don't support V4L2 anyway.
|
||||||
|
*/
|
||||||
|
#define __LINUX_VIDEODEV2_H
|
||||||
|
|
||||||
#include <linux/videodev.h>
|
#include <linux/videodev.h>
|
||||||
|
|
||||||
#define BACKEND_NAME v4l
|
#define BACKEND_NAME v4l
|
||||||
|
|
Ładowanie…
Reference in New Issue