Merge branch 'master' into 'master'
Add _XOPEN_SOURCE_EXTENDED definition in WATCH8BIT This is required for POSIX correctness ([ref]), and additionally is required for building procps against the musl C library. [ref]: http://lists.gnu.org/archive/html/bug-ncurses/2011-07/msg00004.html See merge request !4
This commit is contained in:
commit
35db857ce7
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…
Reference in New Issue
Block a user