* v4l2_driver.h patch
@ 2008-02-29 16:32 Carl Karsten
0 siblings, 0 replies; only message in thread
From: Carl Karsten @ 2008-02-29 16:32 UTC (permalink / raw)
To: video4linux-list
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
24 struct v4l2_t_buf {
25 void *start;
26 size_t length;
27 };
http://www.video4linux.org/browser/v4l2-apps/lib/v4l2_driver.h
Carl K
diff -r 127f67dea087 v4l2-apps/lib/v4l2_driver.h
--- a/v4l2-apps/lib/v4l2_driver.h Tue Feb 26 20:43:56 2008 +0000
+++ b/v4l2-apps/lib/v4l2_driver.h Thu Feb 28 13:12:58 2008 -0600
@@ -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>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-29 16:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 16:32 v4l2_driver.h patch Carl Karsten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox