summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/barcode/barcode_v4l.cpp2
-rw-r--r--src/barcode/barcode_v4l.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/barcode/barcode_v4l.cpp b/src/barcode/barcode_v4l.cpp
index 10f501a..ec22aad 100644
--- a/src/barcode/barcode_v4l.cpp
+++ b/src/barcode/barcode_v4l.cpp
@@ -16,7 +16,7 @@
//#include <stdio.h>
//#include <stdlib.h>
#include <fcntl.h> /* low-level i/o */
-//#include <unistd.h>
+#include <unistd.h>
#include <errno.h>
//#include <malloc.h>
//#include <sys/stat.h>
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>