[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#538372: linux-libc-dev-2.6.26_20



Hi Ben!

Am Mittwoch, den 11.11.2009, 22:34 +0000 schrieb Ben Hutchings:
> Could you test this:
> 
> --- a/include/linux/socket.h
> +++ b/include/linux/socket.h
> @@ -16,7 +16,12 @@ struct __kernel_sockaddr_storage {
>  				/* _SS_MAXSIZE value minus size of ss_family */
>  } __attribute__ ((aligned(_K_SS_ALIGNSIZE)));	/* force desired alignment */
>  
> -#ifdef __KERNEL__
> +#ifndef __KERNEL__
> +
> +/* I think this is what you wanted: */
> +#include <sys/socket.h>
> +
> +#else
>  
>  #include <asm/socket.h>			/* arch-dependent defines	*/
>  #include <linux/sockios.h>		/* the SIOCxxx I/O controls	*/
> --- END ---

This change works for both test cases.

Best regards
Manuel




Reply to: