From 489bef2ace3c3c617f5bf78ded45a5b81fe2fd46 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 13 Aug 2020 13:48:50 -0400 Subject: add src/ to -I and exorcise ../ from #include --- src/math/atan2.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/math') diff --git a/src/math/atan2.c b/src/math/atan2.c index f54c4cf7..38ba944e 100644 --- a/src/math/atan2.c +++ b/src/math/atan2.c @@ -2,11 +2,15 @@ #include #include "_tgmath.h" #include "errno.h" -#include "../_assert.h" +#include "_assert.h" #include "M_PI.c" #include "M_PI_2.c" +#ifndef copysign +#define copysign(_x, _y) _x +#endif + /** arc tangent **/ TYPE TGFN(atan2)(TYPE y, TYPE x) { -- cgit v1.2.1