summaryrefslogtreecommitdiffstats
path: root/src/barcode/barcode_v4l.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-18 20:25:16 +0200
committerSlávek Banko <[email protected]>2016-09-18 20:25:16 +0200
commit1ad8da5795c9b7e348aac6fc0a7c31e26584aa2b (patch)
tree2555526937f4774486ab2bf2f732540c797d9e05 /src/barcode/barcode_v4l.h
parent5eb938208e3ef0f9c2d8aecde27d03cd4564e255 (diff)
downloadtellico-1ad8da5795c9b7e348aac6fc0a7c31e26584aa2b.tar.gz
tellico-1ad8da5795c9b7e348aac6fc0a7c31e26584aa2b.zip
Use libv4l1-videodev.h when available
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/barcode/barcode_v4l.h')
-rw-r--r--src/barcode/barcode_v4l.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/barcode/barcode_v4l.h b/src/barcode/barcode_v4l.h
index 3ab1a32..c6f60b2 100644
--- a/src/barcode/barcode_v4l.h
+++ b/src/barcode/barcode_v4l.h
@@ -30,8 +30,9 @@
#undef FOO__STRICT_ANSI__
#endif
-//#include <linux/videodev2.h>
-#include <linux/videodev.h>
+#include "config.h"
+
+#include VIDEODEV_HEADER
#include <tqstring.h>
#include <tqimage.h>