summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-04 10:13:39 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-04 10:13:39 -0300
commit959cb3c06e2a117f9cea0097e5592b0be5c00aa1 (patch)
treeddb4ed70efa387834949195c72bc23a45469c07b /v4l2-apps/lib
parent09cba0a2d93b91a32f3daaf905a25416d8d795eb (diff)
downloadmediapointer-dvb-s2-959cb3c06e2a117f9cea0097e5592b0be5c00aa1.tar.gz
mediapointer-dvb-s2-959cb3c06e2a117f9cea0097e5592b0be5c00aa1.tar.bz2
Subject: Add a missing include at v4l2_driver.h
From: Carl Karsten <carl@personnelware.com> Date: Thu, 28 Feb 2008 15:21:51 -0600 Adding #include <stddef.h> solves a build problem I had on Ubnutu. v4l-dvb/v4l2-apps/test$ make CC driver-test.o In file included from driver-test.c:17: ../lib/v4l2_driver.h:26: error: expected specifier-qualifier-list before 'size_t' make: *** [driver-test.o] Error 1 Thanks to Carl Karsten <carl@personnelware.com> for pointing this issue. CC: Carl Karsten <carl@personnelware.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l2-apps/lib')
-rw-r--r--v4l2-apps/lib/v4l2_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/v4l2-apps/lib/v4l2_driver.h b/v4l2-apps/lib/v4l2_driver.h
index 74d5b8358..b5d5dd22d 100644
--- a/v4l2-apps/lib/v4l2_driver.h
+++ b/v4l2-apps/lib/v4l2_driver.h
@@ -12,6 +12,7 @@
Lesser General Public License for more details.
*/
+#include <stddef.h>
#include <stdint.h>
#include <sys/time.h>
#include <linux/videodev2.h>