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