summarylogtreecommitdiffstats
path: root/fix-build.patch
blob: 7c79844cecae358b495be9983c567ef861e13717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --unified --recursive --text --new-file canto-curses-0.9.9.orig/canto_curses/widecurse.c canto-curses-0.9.9/canto_curses/widecurse.c
--- canto-curses-0.9.9.orig/canto_curses/widecurse.c	2024-11-19 06:55:26.703201292 +0100
+++ canto-curses-0.9.9/canto_curses/widecurse.c	2024-11-19 06:55:39.423227011 +0100
@@ -6,9 +6,12 @@
    published by the Free Software Foundation.
 */
 
+#define NCURSES_INTERNALS 1
 #include <Python.h>
+#include <curses.h>
 #include <py_curses.h>
 #include <readline/readline.h>
+#include <wchar.h>
 
 static PyObject *py_wcwidth(PyObject * self, PyObject * args)
 {