sd-radv: avoid redefinition of struct in6_addr
authorHans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Mon, 25 Sep 2017 14:39:32 +0000 (16:39 +0200)
committerHenrik Grindal Bakken <hgb@ifi.uio.no>
Wed, 10 Jan 2018 11:32:03 +0000 (12:32 +0100)
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'

src/libsystemd-network/sd-radv.c

index 46704ac..f6c984f 100644 (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"