summaryrefslogtreecommitdiffstats
path: root/package/aiccu/0003-if-ether-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/aiccu/0003-if-ether-header.patch')
-rw-r--r--package/aiccu/0003-if-ether-header.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/package/aiccu/0003-if-ether-header.patch b/package/aiccu/0003-if-ether-header.patch
deleted file mode 100644
index 48e8ceb6b1..0000000000
--- a/package/aiccu/0003-if-ether-header.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-musl does not allow using <netinet/*> together with <linux/*> headers.
-Since there are both netinet/if_ether.h and linux/if_ether.h providing
-the same definitions, use linux/if_ether.h whenever other linux/*
-headers are included.
-
-Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
-
---- aiccu/common/common.h
-+++ aiccu/common/common.h
-@@ -91,11 +91,12 @@
- #include <sys/select.h>
-
- #include <net/if.h>
-- #include <netinet/if_ether.h>
- #ifdef linux
- #include <netpacket/packet.h>
-+ #include <linux/if_ether.h>
- #include <linux/if_tun.h>
- #else
-+ #include <netinet/if_ether.h>
- #ifdef _DFBSD
- #include <net/tun/if_tun.h>
- #else
OpenPOWER on IntegriCloud