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