linux-mips
[Top] [All Lists]

Re: socket.h patch (SOCK_XXX break glibc build)

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: socket.h patch (SOCK_XXX break glibc build)
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 26 Oct 2004 03:50:36 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <20041026.101226.70226592.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041026.101226.70226592.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Tue, Oct 26, 2004 at 10:12:26AM +0900, Atsushi Nemoto wrote:

> On 2.6.9, SOCK_DGRAM, etc. in asm-mips/socket.h are visible from
> userland.  It will break glibc build.  For other archs,
> include/linux/net.h uses "#ifdef __KERNEL__" for SOCK_XXX definitions,
> so asm-mips/socket.h should use "#ifdef __KERNEL__" too?

Ok ...

   Ralf

<Prev in Thread] Current Thread [Next in Thread>