aboutsummaryrefslogtreecommitdiff
path: root/tents.c
diff options
context:
space:
mode:
Diffstat (limited to 'tents.c')
-rw-r--r--tents.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tents.c b/tents.c
index 47a0d11..86b5245 100644
--- a/tents.c
+++ b/tents.c
@@ -33,7 +33,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"
#include "matching.h"