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

Peter S. Mazinger ps.m at gmx.net
Tue Apr 27 18:50:09 UTC 2004


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.

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
-------------- next part --------------
--- libc/sysdeps/linux/common/bits/socket.h.mps	2004-04-27 20:40:26.000000000 +0200
+++ libc/sysdeps/linux/common/bits/socket.h	2004-04-27 20:43:45.000000000 +0200
@@ -302,7 +302,7 @@ struct ucred
 };
 
 /* Get socket manipulation related informations from kernel headers.  */
-#include <asm/socket.h>
+//#include <asm/socket.h>
 
 
 /* Structure used to manipulate the SO_LINGER option.  */


More information about the uClibc mailing list