From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030284AbXCHIfz (ORCPT ); Thu, 8 Mar 2007 03:35:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030288AbXCHIfz (ORCPT ); Thu, 8 Mar 2007 03:35:55 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:41846 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030284AbXCHIfy (ORCPT ); Thu, 8 Mar 2007 03:35:54 -0500 Date: Thu, 8 Mar 2007 08:35:43 +0000 From: Christoph Hellwig To: Jan Engelhardt Cc: Christoph Hellwig , Deepak Saxena , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix building kernel under Solaris Message-ID: <20070308083543.GA5213@infradead.org> Mail-Followup-To: Christoph Hellwig , Jan Engelhardt , Deepak Saxena , Andrew Morton , linux-kernel@vger.kernel.org References: <20070306180940.GA3240@plexity.net> <20070307094229.GG14863@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: > > On Mar 7 2007 09:42, Christoph Hellwig wrote: > >> #include > >> #include > >> #include > >> +#ifndef __sun__ > >> #include > >> #endif > >> +#endif > > > >So if solaris doesn't need it, why do we need it on Linux? > > For __s32 and __s16. We shouldn't use those from asm/types.h on Linux either, but get them consitantly by defining them to the C99 or BSD types from the libc headers.