Messages in this thread | | | Subject | Re: linux/time.h annoyance | From | Ronald Bultje <> | Date | Thu, 25 Sep 2003 12:17:12 +0200 |
| |
On Thu, 2003-09-25 at 11:54, Christoph Hellwig wrote: > On Thu, Sep 25, 2003 at 11:48:01AM +0200, Ronald Bultje wrote: > > Hi, > > > > I'm annoyed by something in linux/time.h. The issue is as follows: > > > > - > > #include <sys/time.h> > > #include <linux/time.h> > > int main () { return 0; } > > So don't include it. Userspace should use <sys/time.h>, not kernel > headers.
linux/videodev2.h includes linux/time.h. And I need linux/videodev2.h in my application, there is no sys/ equivalent. I expect there's more of such cases.
I also explained this in my first email. ;).
Ronald
-- Ronald Bultje <rbultje@ronald.bitfreak.net> Linux Video/Multimedia developer
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |