Commit b61bba48 authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2object: Use mmap64 to match libv4l2 signature

https://bugzilla.gnome.org/show_bug.cgi?id=785628
parent ba8aa440
......@@ -22,6 +22,8 @@
#include <config.h>
#endif
#define _GNU_SOURCE /* Enable mmap64() */
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
......@@ -509,7 +511,7 @@ gst_v4l2_object_new (GstElement * element,
v4l2object->dup = dup;
v4l2object->ioctl = ioctl;
v4l2object->read = read;
v4l2object->mmap = mmap;
v4l2object->mmap = mmap64;
v4l2object->munmap = munmap;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment