summaryrefslogtreecommitdiff
path: root/graphics/ttyplot/files/patch-ttyplot.c
blob: d95551e375cbebd9f4a3309dfcafc3e9225a0740 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ttyplot.c.orig	2024-08-02 02:32:02 UTC
+++ ttyplot.c
@@ -9,7 +9,7 @@
 
 // This is needed on macOS to get the ncurses widechar API, and pkg-config fails to
 // define it.
-#ifdef __APPLE__
+#if defined (__APPLE__) || defined (__FreeBSD__)
 #define _XOPEN_SOURCE_EXTENDED
 #else
 // This is needed for musl libc