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




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to