Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / python27 / patches / patch-aa
blob8ec60baaa980690db71519a168bc4573baea6947
1 $NetBSD$
3 --- Include/py_curses.h.orig    2010-03-25 00:54:54.000000000 +0000
4 +++ Include/py_curses.h
5 @@ -44,6 +44,21 @@
6  #endif
7  #endif
8  
9 +#ifdef __NetBSD__
10 +/*
11 +** On NetBSD, [n]curses.h and stdlib.h/wchar.h use different guards
12 +** against multiple definition of wchar_t and wint_t.
13 +*/
14 +#ifdef _XOPEN_SOURCE_EXTENDED
15 +#ifndef _WCHAR_T
16 +#define _WCHAR_T
17 +#endif
18 +#ifndef _WINT_T
19 +#define _WINT_T
20 +#endif
21 +#endif
22 +#endif
24  #ifdef HAVE_NCURSES_H
25  #include <ncurses.h>
26  #else