v4l2: Fix unknown type name ‘off_t’ error

Fix following build error

gstv4l2object.h:197:17: error: unknown type name ‘off_t’
       gint fd,  off_t offset);
                 ^

https://bugzilla.gnome.org/show_bug.cgi?id=794533
This commit is contained in:
Seungha Yang 2018-03-21 00:19:37 +09:00 committed by Nicolas Dufresne
parent 893d39cef7
commit c4d13683f6
2 changed files with 1 additions and 1 deletions

View file

@ -25,7 +25,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/ioctl.h>

View file

@ -35,6 +35,7 @@
#include <gst/base/gstpushsrc.h>
#include <gst/video/video.h>
#include <unistd.h>
typedef struct _GstV4l2Object GstV4l2Object;
typedef struct _GstV4l2ObjectClassHelper GstV4l2ObjectClassHelper;