[uClibc] redefinitions if sys/socket.h is included

Peter S. Mazinger ps.m at gmx.net
Fri May 14 13:14:20 UTC 2004


On Fri, 14 May 2004, Erik Andersen wrote:

> On Tue Apr 27, 2004 at 08:50:09PM +0200, Peter S. Mazinger wrote:
> > Hello!
> > 
> > I get redefinitions if sys/socket.h is included, it includes bits/socket.h 
> > and this includes asm/socket.h. Removing asm/socket.h corrects the 
> > problem, patch attached.
> 
> Can you show us the code where you are seeing this problem?

I have updated ssp.c that uses it and brings duplicates. The correct 
patch should be limited to #ifdef _LIBC, else some userspace stuff won't 
build.

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2


____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu



More information about the uClibc mailing list