Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261783AbTIYKPx (ORCPT ); Thu, 25 Sep 2003 06:15:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261784AbTIYKPx (ORCPT ); Thu, 25 Sep 2003 06:15:53 -0400 Received: from mail2.uu.nl ([131.211.16.76]:10384 "EHLO mail2.uu.nl") by vger.kernel.org with ESMTP id S261783AbTIYKPs (ORCPT ); Thu, 25 Sep 2003 06:15:48 -0400 Subject: Re: linux/time.h annoyance From: Ronald Bultje To: Christoph Hellwig Cc: linux-kernel@vger.kernel.org In-Reply-To: <20030925105436.A8809@infradead.org> References: <1064483200.6405.442.camel@shrek.bitfreak.net> <20030925105436.A8809@infradead.org> Content-Type: text/plain Message-Id: <1064485031.2220.468.camel@shrek.bitfreak.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 25 Sep 2003 12:17:12 +0200 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 31 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 > > #include > > int main () { return 0; } > > So don't include it. Userspace should use , 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 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/