summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Canvas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index de04f16..6f6837a 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -19,6 +19,7 @@
*/
#define _POSIX_C_SOURCE 200809L // strdup
+#define _XOPEN_SOURCE 600 // isascii on BSD
#include <math.h>
#include <stdio.h>