mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
v4l2object: Use mmap64 to match libv4l2 signature
https://bugzilla.gnome.org/show_bug.cgi?id=785628
This commit is contained in:
parent
ba8aa440bb
commit
b61bba4848
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue