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