summaryrefslogtreecommitdiff
path: root/pkg/strace/patch/0001-Remove-netinet-in.h-include-from-rtnl_mdb.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/strace/patch/0001-Remove-netinet-in.h-include-from-rtnl_mdb.c.patch')
-rw-r--r--pkg/strace/patch/0001-Remove-netinet-in.h-include-from-rtnl_mdb.c.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/strace/patch/0001-Remove-netinet-in.h-include-from-rtnl_mdb.c.patch b/pkg/strace/patch/0001-Remove-netinet-in.h-include-from-rtnl_mdb.c.patch
new file mode 100644
index 00000000..92145433
--- /dev/null
+++ b/pkg/strace/patch/0001-Remove-netinet-in.h-include-from-rtnl_mdb.c.patch
@@ -0,0 +1,25 @@
+From 44eac9bc40ef4fcd5ad03826b9d5d3db7bf5bc7f Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Wed, 18 Oct 2017 21:02:15 -0700
+Subject: [PATCH] Remove netinet/in.h include from rtnl_mdb.c
+
+It conflicts with kernel headers on musl.
+---
+ rtnl_mdb.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/rtnl_mdb.c b/rtnl_mdb.c
+index 30c3473e..1b7405cf 100644
+--- a/rtnl_mdb.c
++++ b/rtnl_mdb.c
+@@ -35,7 +35,6 @@
+ # include "nlattr.h"
+ # include "print_fields.h"
+
+-# include <netinet/in.h>
+ # include <linux/if_bridge.h>
+ # include "netlink.h"
+
+--
+2.14.2
+