From 0ddce6370d39eff162bd212a6e47fe3a8e96a09e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 11 Apr 2010 19:39:31 +0200 Subject: [PATCH] Don't redefine MAX if it already exists. --- src/route.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/route.c b/src/route.c index 3d8d54a..1caf738 100644 --- a/src/route.c +++ b/src/route.c @@ -50,7 +50,10 @@ static const size_t ip6_size = sizeof(struct ip6_hdr); static const size_t icmp6_size = sizeof(struct icmp6_hdr); static const size_t ns_size = sizeof(struct nd_neighbor_solicit); static const size_t opt_size = sizeof(struct nd_opt_hdr); + +#ifndef MAX #define MAX(a, b) ((a) > (b) ? (a) : (b)) +#endif /* RFC 1071 */ -- 2.25.1