aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 2cefd36..d9695c8 100644
--- a/misc.c
+++ b/misc.c
@@ -3,7 +3,11 @@
*/
#include <assert.h>
-#include <tgmath.h>
+#ifdef NO_TGMATH_H
+# include <math.h>
+#else
+# include <tgmath.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>