diff options
author | Hans Verkuil <[email protected]> | 2012-07-12 12:06:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2012-07-30 21:43:25 -0300 |
commit | 26ddcbcca3057125a0e5f3901b06439a20869640 (patch) | |
tree | 00a0fe47765d6874ce3cf4a147ffb92a229f316d /lib/mpi/mpi-internal.h | |
parent | a4de5f058c56a3cc72dc31dabc548eab100e3d2d (diff) |
[media] Use a named union in struct v4l2_ioctl_info
Hi Mauro,
struct v4l2_ioctl_info uses an anonymous union, which is initialized
in the v4l2_ioctls table.
Unfortunately gcc < 4.6 uses a non-standard syntax for that, so trying to
compile v4l2-ioctl.c with an older gcc will fail.
It is possible to work around this by testing the gcc version, but in this
case it is easier to make the union named since it is used in only a few
places.
Signed-off-by: Hans Verkuil <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions