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