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