chiark / gitweb /
libsystemd: revert one hunk of duplicate ifdef removal
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 24 Feb 2015 01:03:55 +0000 (20:03 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 24 Feb 2015 01:08:05 +0000 (20:08 -0500)
This change exposed a bug in kernel headers:

/usr/include/linux/if_bridge.h:184:20: error: field 'ip6' has incomplete type
    struct in6_addr ip6;
                    ^
/usr/include/linux/if_tunnel.h:76:19: error: field 'prefix' has incomplete type
  struct in6_addr  prefix;
                   ^

src/libsystemd/sd-rtnl/rtnl-types.c

index 3f4ba2e0f0eb9bea4524d09821c4c09968c63fef..2257c81bfc5be944c745670e7199856a7f572dc3 100644 (file)
@@ -23,6 +23,7 @@
 #include <sys/socket.h>
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>
+#include <linux/in6.h>
 #include <linux/veth.h>
 #include <linux/if_bridge.h>
 #include <linux/if_addr.h>