v4l2: guard use of ENODATA with #ifdef
authorRyan Lortie <desrt@desrt.ca>
Sat, 25 Jan 2014 07:06:00 +0000 (02:06 -0500)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 25 Jan 2014 17:51:41 +0000 (18:51 +0100)
commita46f667853fecd34ffbbcfd0920295af930a80b7
tree39b257aa8499283af5ed2cafd721b120cffbf351
parent8054cd5df344eafe3b3c4f80e10c47d85797bac2
v4l2: guard use of ENODATA with #ifdef

Not all systems with v4l have ENODATA defined, so check that we have it
before attempting to use it.

https://bugzilla.gnome.org/show_bug.cgi?id=722953
sys/v4l2/v4l2_calls.c