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