日期:2014-05-16 浏览次数:20851 次
rtadv.c: In function ‘rtadv_recv_packet’: rtadv.c:123: error: dereferencing pointer to incomplete type rtadv.c:124: error: dereferencing pointer to incomplete type rtadv.c:124: error: dereferencing pointer to incomplete type rtadv.c:130: warning: dereferencing type-punned pointer will break strict-aliasing rules rtadv.c: In function ‘rtadv_send_packet’: rtadv.c:149: error: invalid application of ‘sizeof’ to incomplete type ‘struct in6_pktinfo’ rtadv.c:194: warning: operation on ‘node’ may be undefined rtadv.c:268: error: dereferencing pointer to incomplete type rtadv.c:269: error: dereferencing pointer
#ifdef HAVE_SYS_SOCKIO_H #include <sys/sockio.h> #endif /* HAVE_SYS_SOCKIO_H */ /** Added ***/ #ifdef GNU_LINUX #define __USE_GNU #endif /** end added **/ #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif /* HAVE_NETINET_IN_H */ #include <netinet/in_systm.h> #include <netinet/ip.h> #include <netinet/tcp.h>