lkml.org 
[lkml]   [2015]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 48/98] include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h
    Date
    Fixes userspace compilation errors:

    error: field ‘addr’ has incomplete type
    struct sockaddr_in addr; /* IP address and port to send to */

    error: field ‘addr’ has incomplete type
    struct sockaddr_in6 addr; /* IP address and port to send to */

    Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
    ---
    include/uapi/linux/if_pppox.h | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h
    index 473c3c4..d37bbb1 100644
    --- a/include/uapi/linux/if_pppox.h
    +++ b/include/uapi/linux/if_pppox.h
    @@ -24,6 +24,8 @@
    #include <linux/if.h>
    #include <linux/if_ether.h>
    #include <linux/if_pppol2tp.h>
    +#include <linux/in.h>
    +#include <linux/in6.h>

    /* For user-space programs to pick up these definitions
    * which they wouldn't get otherwise without defining __KERNEL__
    --
    2.1.4


    \
     
     \ /
      Last update: 2015-05-30 18:01    [W:4.882 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site