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