mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
25 lines
503 B
Plaintext
25 lines
503 B
Plaintext
--- Include/py_curses.h.orig Sun Nov 10 07:36:39 2013
|
||
+++ Include/py_curses.h Fri Apr 18 18:45:25 2014
|
||
@@ -44,6 +44,21 @@
|
||
#endif
|
||
#endif
|
||
|
||
+#if defined __NetBSD__ || defined __minix
|
||
+/*
|
||
+** On NetBSD, [n]curses.h and stdlib.h/wchar.h use different guards
|
||
+** against multiple definition of wchar_t and wint_t.
|
||
+*/
|
||
+#ifdef _XOPEN_SOURCE_EXTENDED
|
||
+#ifndef _WCHAR_T
|
||
+#define _WCHAR_T
|
||
+#endif
|
||
+#ifndef _WINT_T
|
||
+#define _WINT_T
|
||
+#endif
|
||
+#endif
|
||
+#endif
|
||
+
|
||
#ifdef HAVE_NCURSES_H
|
||
#include <ncurses.h>
|
||
#else
|