sd-radv: avoid redefinition of struct in6_addr
Both netinet/icmp6.h and linux/in6.h will define struct in6_addr, and in user space we want to use the netinet/icmp6.h variant. Fixes build problem: In file included from src/libsystemd-network/sd-radv.c:23:0: /home/hegtvedt/work/os/product/sunrise/root/_build/v2/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
This commit is contained in:
parent
d07ba5d790
commit
8a2b193a55
|
@ -21,7 +21,6 @@
|
|||
#include <netinet/icmp6.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
#include "sd-radv.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue