mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
15 lines
427 B
Plaintext
15 lines
427 B
Plaintext
OpenBSD also needs the _XOPEN_SOURCE_EXTENDED define.
|
|
|
|
Index: ttyplot.c
|
|
--- ttyplot.c.orig
|
|
+++ ttyplot.c
|
|
@@ -8,7 +8,7 @@
|
|
|
|
// This is needed on FreeBSD and macOS to get the ncurses widechar API,
|
|
// and pkg-config fails to define it.
|
|
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
#define _XOPEN_SOURCE_EXTENDED
|
|
#else
|
|
// This is needed for musl libc
|