aboutsummaryrefslogtreecommitdiff
path: root/mines.c
diff options
context:
space:
mode:
Diffstat (limited to 'mines.c')
-rw-r--r--mines.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mines.c b/mines.c
index 09e3422..e9437cb 100644
--- a/mines.c
+++ b/mines.c
@@ -13,7 +13,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 "tree234.h"
#include "puzzles.h"