From: Carl Karsten <carl@personnelware.com>
To: video4linux-list@redhat.com
Subject: v4l2_driver.h patch
Date: Fri, 29 Feb 2008 10:32:41 -0600 [thread overview]
Message-ID: <47C833A9.9080708@personnelware.com> (raw)
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
reply other threads:[~2008-02-29 16:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47C833A9.9080708@personnelware.com \
--to=carl@personnelware.com \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox