Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261862AbUKCVDI (ORCPT ); Wed, 3 Nov 2004 16:03:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261883AbUKCU7u (ORCPT ); Wed, 3 Nov 2004 15:59:50 -0500 Received: from pimout3-ext.prodigy.net ([207.115.63.102]:16008 "EHLO pimout3-ext.prodigy.net") by vger.kernel.org with ESMTP id S261871AbUKCU4F (ORCPT ); Wed, 3 Nov 2004 15:56:05 -0500 Date: Wed, 3 Nov 2004 12:55:48 -0800 From: Chris Wedgwood To: Tom Rini Cc: Andrew Morton , Kernel Mailing List , urban@teststation.com Subject: Re: [PATCH 2.6.10-rc1] Fix building of samba userland Message-ID: <20041103205548.GA10756@taniwha.stupidest.org> References: <20041103190345.GI381@smtp.west.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041103190345.GI381@smtp.west.cox.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 35 On Wed, Nov 03, 2004 at 12:03:45PM -0700, Tom Rini wrote: > Hello. After 2.6.8.1, samba userland would no longer build with > current kernel headers, as it needs some of the samba kernel headers > to work, what? the samba userland which i assume is portable and not at all linux specific needs linux kernel headers? > +++ edited/include/linux/smb_fs.h 2004-11-03 12:00:07 -07:00 > @@ -12,7 +12,6 @@ > #include > #include > #include > -#include > > /* > * ioctl commands > @@ -26,6 +25,7 @@ > > #ifdef __KERNEL__ > > +#include > #include > #include > #include that patch seems harmless enough, but im not sure why it should be necessary really, i dont see why samba should be including such headers at all --- it's a bad idea in almost all cases - 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/