lkml.org 
[lkml]   [2007]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix building kernel under Solaris
On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote:
>
> On Mar 7 2007 09:42, Christoph Hellwig wrote:
> >> #include <sys/time.h>
> >> #include <sys/ioctl.h>
> >> #include <sys/types.h>
> >> +#ifndef __sun__
> >> #include <asm/types.h>
> >> #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.
-
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/

\
 
 \ /
  Last update: 2007-03-08 09:39    [W:0.054 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site