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