From cec69125160906f147398c347860fee0e6aab8bf Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 24 Jun 2016 09:26:21 +0200 Subject: [PATCH] add missing include Change-Id: Ia21873123179902b2c3cad95b39db7d15c5b388a --- src/lib/ZMFTypes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ZMFTypes.cpp b/src/lib/ZMFTypes.cpp index ded93c7..7e024b3 100644 --- a/src/lib/ZMFTypes.cpp +++ b/src/lib/ZMFTypes.cpp @@ -9,6 +9,19 @@ #include "ZMFTypes.h" +#include + +#if defined(__ANDROID__) +namespace std +{ +template +T hypot(T x, T y) +{ + return ::hypot(x, y); +} +} +#endif + #include namespace libzmf -- 2.7.4