aboutsummaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk.c b/gtk.c
index ce792d3..7f44baf 100644
--- a/gtk.c
+++ b/gtk.c
@@ -13,7 +13,11 @@
#include <stdarg.h>
#include <string.h>
#include <errno.h>
-#include <tgmath.h>
+#ifdef NO_TGMATH_H
+# include <math.h>
+#else
+# include <tgmath.h>
+#endif
#include <unistd.h>
#include <sys/time.h>