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