summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.h')
-rw-r--r--src/v4l2/v4l2_camera_proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/v4l2/v4l2_camera_proxy.h b/src/v4l2/v4l2_camera_proxy.h
index 7c65c886..27d3e507 100644
--- a/src/v4l2/v4l2_camera_proxy.h
+++ b/src/v4l2/v4l2_camera_proxy.h
@@ -11,6 +11,7 @@
#include <linux/videodev2.h>
#include <map>
#include <memory>
+#include <sys/mman.h>
#include <sys/types.h>
#include <vector>
@@ -28,7 +29,7 @@ public:
int open(bool nonBlocking);
void dup();
void close();
- void *mmap(void *addr, size_t length, int prot, int flags, off_t offset);
+ void *mmap(void *addr, size_t length, int prot, int flags, off64_t offset);
int munmap(void *addr, size_t length);
int ioctl(unsigned long request, void *arg);