Fix v4l build with libv4l 0.8.3+

merge-requests/1/head
Julien BLACHE 2011-02-16 19:37:43 +01:00
rodzic 2c5e12d53c
commit c5ca46c2d1
3 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -1,3 +1,6 @@
2011-02-16 Julien Blache <jb@jblache.org>
* backend/v4l.c, backend/v4l.h: fix build with libv4l 0.8.3+.
2011-02-13 m. allan noah <kitno455 at gmail dot com>
* doc/releases.txt: minor updates

Wyświetl plik

@ -84,9 +84,8 @@
#include "../include/sane/sanei_config.h"
#define V4L_CONFIG_FILE "v4l.conf"
#include "v4l.h"
#include <libv4l1.h>
#include "v4l.h"
static const SANE_Device **devlist = NULL;
static int num_devices;

Wyświetl plik

@ -29,6 +29,7 @@
#ifndef v4l_h
#define v4l_h
#ifndef __LINUX_VIDEODEV_H
/* Kernel interface */
/* Only the stuff we need. For more features, more defines are needed */
@ -165,7 +166,7 @@ struct video_channel
/* end of kernel interface */
#endif /* !__LINUX_VIDEODEV_H */
#include <../include/sane/sane.h>