aboutsummaryrefslogtreecommitdiff
path: root/unequal.c
diff options
context:
space:
mode:
Diffstat (limited to 'unequal.c')
-rw-r--r--unequal.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/unequal.c b/unequal.c
index f50197b..12cdd7c 100644
--- a/unequal.c
+++ b/unequal.c
@@ -21,7 +21,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"
#include "latin.h" /* contains typedef for digit */