]>
Commit | Line | Data |
---|---|---|
5e993f12 | 1 | index 92cd38e..545c041 100644 |
2 | --- a/include/linux/socket.h | |
3 | +++ b/include/linux/socket.h | |
4 | @@ -16,7 +16,7 @@ struct __kernel_sockaddr_storage { | |
5 | /* _SS_MAXSIZE value minus size of ss_family */ | |
6 | } __attribute__ ((aligned(_K_SS_ALIGNSIZE))); /* force desired alignment */ | |
7 | ||
8 | -#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) | |
9 | +#ifdef __KERNEL__ | |
10 | ||
11 | #include <asm/socket.h> /* arch-dependent defines */ | |
12 | #include <linux/sockios.h> /* the SIOCxxx I/O controls */ | |
13 | index 679ef0d..59e6ba3 100644 | |
14 | --- a/include/linux/stat.h | |
15 | +++ b/include/linux/stat.h | |
16 | @@ -7,7 +7,7 @@ | |
17 | ||
18 | #endif | |
19 | ||
20 | -#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) | |
21 | +#ifdef __KERNEL__ | |
22 | ||
23 | #define S_IFMT 00170000 | |
24 | #define S_IFSOCK 0140000 |