Try to not include linux/videodev2.h to avoid compilation errors.

merge-requests/1/head
Henning Geinitz 2003-11-16 18:00:17 +00:00
rodzic 3c18d9a960
commit 5b6f9b8a5c
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -73,6 +73,13 @@
#include <sys/ioctl.h>
#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>
#define BACKEND_NAME v4l