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