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