From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: Linux and Kernel Video <video4linux-list@redhat.com>,
v4l-dvb maintainer list <v4l-dvb-maintainer@linuxtv.org>
Subject: 2.6.27rc1 installs a broken /usr/include/linux/videodev2.h
Date: Mon, 04 Aug 2008 20:24:11 +0200 [thread overview]
Message-ID: <4897494B.1010307@hhs.nl> (raw)
Hi All,
When doing "make headers_install" 2.6.27rc1 install a broken
/usr/include/linux/videodev2.h
The problem are the 2 userspace lines of the following part of videodev2.h:
#ifdef __KERNEL__
#include <linux/time.h> /* need struct timeval */
#include <linux/compiler.h> /* need __user */
#else
#define __user
#include <sys/time.h>
#endif
2.6.27rc1 seems to handle __user usage in userspace itself now, simply by
removing __user + whitespace after it resulting in the following in userspace
for the 2 lines in the userspace of the if else above:
#define #include <sys/time.h>
The fix for 2/6/27rc1 is to simply remove the "#define __user" line, but I
wonder how that will effect our usage with older kernels?
Regards,
Hans
--
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-08-04 18:16 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=4897494B.1010307@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--cc=v4l-dvb-maintainer@linuxtv.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.