get f4f5d4fd to build

This commit is contained in:
yigid balaban 2024-10-23 20:23:46 +03:00
parent f4f5d4fd43
commit 87676eab16
Signed by: fyb
GPG Key ID: CF1BBD1336C0A3D6
2 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@ AC_C_BIGENDIAN
#-------------------------------------------------------------------------------
AC_CHECK_HEADERS([ctype.h getopt.h locale.h math.h signal.h stdio.h stdlib.h \
string.h sys/stat.h sys/types.h sys/wait.h time.h unistd.h \
fcntl.h paths.h errno.h limits.h regex.h])
fcntl.h paths.h errno.h limits.h regex.h wchar.h])
#-------------------------------------------------------------------------------
# Checks for system libs
#-------------------------------------------------------------------------------
@ -32,6 +32,9 @@ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
AC_MSG_ERROR(Either ncurses or ncursesw library is required to build calcurse!)
fi
AC_DEFINE([_XOPEN_SOURCE_EXTENDED], [1], [Enable wide-character support])
AC_DEFINE([NCURSES_WIDECHAR], [1], [Enable ncurses wide-character support])
LIBS="$LIBS $CURSES_LIBS"
AC_CHECK_HEADERS([pthread.h], [

View File

@ -36,6 +36,8 @@
#include "calcurse.h"
#include <ctype.h>
#include <wchar.h>
#include <curses.h>
static unsigned ui_todo_view = 0;