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 2017-09-25 16:39:32 +02:00 committed by Henrik Grindal Bakken
parent d07ba5d790
commit 8a2b193a55
1 changed files with 0 additions and 1 deletions

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"