v4l2: Properly fix Android build
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 21 Nov 2018 23:53:39 +0000 (18:53 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 21 Nov 2018 23:58:38 +0000 (18:58 -0500)
commit3b22a604b59a8a9b1e0141180746a927e87b3655
tree27e879247be1266abf1c9a49c2976558a57e8799
parent0e2d0adac52dc9983e3cd0abb4f778e36c010ea1
v4l2: Properly fix Android build

The previous patch did not even compile on any possible platform or C
standard. That commit also didn't have a proper commit message.

Android ships Linux with a different signature for ioctl. They first
released an ioctl with int as request type, and later "fixed" it by
adding an override with unsign, which is still not matching Linux and
BSD implementation which uses unsigned long int.
sys/v4l2/gstv4l2object.h