aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/map.c b/map.c
index 76b0518..a9b2347 100644
--- a/map.c
+++ b/map.c
@@ -15,7 +15,11 @@
#include <assert.h>
#include <ctype.h>
#include <limits.h>
-#include <tgmath.h>
+#ifdef NO_TGMATH_H
+# include <math.h>
+#else
+# include <tgmath.h>
+#endif
#include "puzzles.h"