Revert "v4l2object: Use mmap64 to match libv4l2 signature"

This reverts commit b61bba4848.
This commit is contained in:
Nicolas Dufresne 2017-12-22 09:17:04 -05:00
parent 784348235a
commit 24f01944ee

View file

@ -22,8 +22,6 @@
#include <config.h>
#endif
#define _GNU_SOURCE /* Enable mmap64() */
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
@ -515,11 +513,7 @@ gst_v4l2_object_new (GstElement * element,
v4l2object->dup = dup;
v4l2object->ioctl = ioctl;
v4l2object->read = read;
#ifdef HAVE_MMAP64
v4l2object->mmap = mmap64;
#else
v4l2object->mmap = mmap;
#endif
v4l2object->munmap = munmap;
}