mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-31 21:22:27 +00:00
0d1b5386ed
Fix the following build error: > error: call to undeclared function 'addwstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
12 lines
307 B
Diff
12 lines
307 B
Diff
diff -u -r ../sssnake-0.3.2/draw.h ./draw.h
|
|
--- ../sssnake-0.3.2/draw.h 2022-10-09 06:17:14.000000000 +0000
|
|
+++ ./draw.h 2024-05-15 09:56:17.567451156 +0000
|
|
@@ -3,6 +3,7 @@
|
|
|
|
#include "snake.h"
|
|
#include "structs.h"
|
|
+#define NCURSES_WIDECHAR 1
|
|
#include <curses.h>
|
|
#include <locale.h>
|
|
#include <wchar.h>
|