void-packages/srcpkgs/iproute2/patches/musl.patch

23 lines
682 B
Diff

Don't redefine in6_addr due to including linux/in6.h; use netinet/in.h instead.
--- include/linux/if_bridge.h.orig 2014-12-28 06:08:02.569567949 +0100
+++ include/linux/if_bridge.h 2014-12-28 06:08:34.736569384 +0100
@@ -15,7 +15,6 @@
#include <linux/types.h>
#include <linux/if_ether.h>
-#include <linux/in6.h>
#define SYSFS_BRIDGE_ATTR "bridge"
#define SYSFS_BRIDGE_FDB "brforward"
--- include/utils.h.orig 2015-03-17 16:22:53.526187290 +0100
+++ include/utils.h 2015-03-17 16:23:57.390030763 +0100
@@ -1,6 +1,7 @@
#ifndef __UTILS_H__
#define __UTILS_H__ 1
+#include <sys/param.h> /* MAXPATHLEN */
#include <sys/types.h>
#include <asm/types.h>
#include <resolv.h>