mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
Fix the following build failure with BR2_OPTIMIZE_0 raised since the addition of the package in commitefc10eb6b8and https://git.netfilter.org/arptables/commit/?id=369afc14de1d89ff5627ff4c5f72f6f839244b50: libarptc/libarptc.c:48:21: error: redefinition of 'arpt_get_target' 48 | #define GET_TARGET arpt_get_target | ^~~~~~~~~~~~~~~ libarptc/libarptc_incl.c:16:1: note: in expansion of macro 'GET_TARGET' 16 | GET_TARGET(STRUCT_ENTRY *e) | ^~~~~~~~~~ In file included from .//include/libarptc/libarptc.h:7, from libarptc/libarptc.c:26: .//include/linux/netfilter_arp/arp_tables.h:196:43: note: previous definition of 'arpt_get_target' was here 196 | static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) | ^~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/730dce4101e7afcee233067e2870603cd64b8a48 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit3c5ca1fd7e) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>