ipstats: Define MIN function to fix undefined references
Subsystems (2)
PATCH 1/1 ipstats: Define MIN function to fix undefined references
Fixes errors in the form of:
in function `ipstats_show_64':
<artificial>:(.text+0x4e30): undefined reference to `MIN'
Signed-off-by Nick Hainke <[email protected]>
--- ip/ipstats.c | 4 ++++ 1 file changed, 4 insertions(+)
ip/ipstats.c +4 -0
@@ -6,6 +6,10 @@#include "utils.h" #include "ip_common.h" +#ifndef MIN +#define MIN (a, b) ((a) < (b) ? (a) : (b)) +#endif +struct ipstats_stat_dump_filters {/* mask[0] filters outer attributes. Then individual nests have their * filtering mask at the index of the nested attribute.
Signature · 1 line
2.37.1