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:
Hans-Christian Noren Egtvedt
2018-01-10 12:32:03 +01:00
committed by Henrik Grindal Bakken
parent d07ba5d790
commit 8a2b193a55
-1
View File
@@ -21,7 +21,6 @@
#include <netinet/icmp6.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <linux/in6.h>
#include "sd-radv.h"