aboutsummaryrefslogtreecommitdiff
path: root/loopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'loopy.c')
-rw-r--r--loopy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/loopy.c b/loopy.c
index b7d91de..bd37a5a 100644
--- a/loopy.c
+++ b/loopy.c
@@ -77,7 +77,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"