1 |
Hello! |
2 |
|
3 |
The cause lies in the file socket.h provided by the kernel-headers, it has |
4 |
the check |
5 |
|
6 |
if defined __KERNEL__ || (some GLIBC condition), and this does not apply |
7 |
to uClibc. |
8 |
|
9 |
we could add || !defined (__UCLIBC__), but this works only if we also add |
10 |
#include <features.h>, else __UCLIBC__is not defined. |
11 |
Would this produce some problems? |
12 |
|
13 |
The files that need this kind of "handling" are: |
14 |
include/asm-i386/posix_types.h and socket.h |
15 |
include/linux/socket.h stat.h and coda.h |
16 |
haven't checked other archs: |
17 |
grep GLIBC asm-<arch>/* |
18 |
|
19 |
Peter |
20 |
|
21 |
-- |
22 |
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2 |
23 |
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 |
24 |
|
25 |
|
26 |
-- |
27 |
gentoo-embedded@g.o mailing list |