diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-13 13:48:50 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-13 13:48:50 -0400 |
| commit | 489bef2ace3c3c617f5bf78ded45a5b81fe2fd46 (patch) | |
| tree | f7df0cd2678ebe868356e9a00952555a28a75214 /src/math/atan2.c | |
| parent | 3e282018ffb5806cafafeb5d0d6f8d67c9bb86e8 (diff) | |
add src/ to -I and exorcise ../ from #include
Diffstat (limited to 'src/math/atan2.c')
| -rw-r--r-- | src/math/atan2.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <math.h> #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) { |
