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