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:
Craig Small 2015-07-08 12:22:09 +00:00
commit 35db857ce7

View File

@ -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>