linux-mips
[Top] [All Lists]

Re: [buildroot] Compilation failure on MIPS with 2.6.9.1 kernel headers

To: Thomas Petazzoni <thomas.petazzoni@enix.org>
Subject: Re: [buildroot] Compilation failure on MIPS with 2.6.9.1 kernel headers
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 27 Oct 2004 05:41:24 +0200
Cc: uclibc@uclibc.org, linux-mips@linux-mips.org
In-reply-to: <417E1747.9020603@enix.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <417E1747.9020603@enix.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Tue, Oct 26, 2004 at 11:22:15AM +0200, Thomas Petazzoni wrote:

> As I understand it, #ifdef __KERNEL__ conditionnal is missing, leading 
> to SOCK_* being visible to the userspace, and conflicting with libc 
> definitions.

In general the policy is to avoid the use of kernel headers in userspace
but glibc is one of those exceptions which we still tollerate ...

  Ralf

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