From 1ddaf0af41098d0a01eac162c6fe4d38f2fbbbad Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 24 Jul 2013 13:00:32 +1000 Subject: Fix compiler warning - implicit declaration of function 'abs' match_four.c:80:4: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] *dist++ = abs(q->x - p->x) + abs(q->y - p->y); Signed-off-by: Peter Hutterer --- src/match_four.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/match_four.c b/src/match_four.c index c7d2cd3..df88afb 100644 --- a/src/match_four.c +++ b/src/match_four.c @@ -1,5 +1,6 @@ #include "match.h" #include +#include typedef unsigned char u8; typedef unsigned int u32; -- cgit v1.2.3