Add _XOPEN_SOURCE_EXTENDED definition in WATCH8BIT
This is required for POSIX correctness (see http://lists.gnu.org/archive/html/bug-ncurses/2011-07/msg00004.html), and additionally is required for building procps against the musl C library.
This commit is contained in:
parent
2617d03a33
commit
c4318389ac
1
watch.c
1
watch.c
@ -49,6 +49,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#ifdef WITH_WATCH8BIT
|
#ifdef WITH_WATCH8BIT
|
||||||
|
# define _XOPEN_SOURCE_EXTENDED 1
|
||||||
# include <wchar.h>
|
# include <wchar.h>
|
||||||
# include <wctype.h>
|
# include <wctype.h>
|
||||||
# include <ncursesw/ncurses.h>
|
# include <ncursesw/ncurses.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user