diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-06-16 06:32:53 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-20 22:13:15 +0200 |
commit | 045eb96407e4d2f97df5fd3706d7e7a081b2555e (patch) | |
tree | 44a166fa485220e2f8647337eea9e14646acd095 /package/aiccu/0003-if-ether-header.patch | |
parent | 87f8ff6d2d376fcd7f2a15346d1901f93addf9f1 (diff) | |
download | buildroot-045eb96407e4d2f97df5fd3706d7e7a081b2555e.tar.gz buildroot-045eb96407e4d2f97df5fd3706d7e7a081b2555e.zip |
aiccu: don't link with librt
Buildroot no longer supports toolchains with glibc older than 2.17, so there
is no need to link with librt for clock_* system calls.
Cc: Michael Rommel <rommel@layer-7.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/aiccu/0003-if-ether-header.patch')
-rw-r--r-- | package/aiccu/0003-if-ether-header.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/aiccu/0003-if-ether-header.patch b/package/aiccu/0003-if-ether-header.patch new file mode 100644 index 0000000000..48e8ceb6b1 --- /dev/null +++ b/package/aiccu/0003-if-ether-header.patch @@ -0,0 +1,23 @@ +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 |