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:
Andrew Wilcox 2015-07-05 14:37:48 -05:00
parent 2617d03a33
commit c4318389ac

View File

@ -49,6 +49,7 @@
#include <time.h>
#include <unistd.h>
#ifdef WITH_WATCH8BIT
# define _XOPEN_SOURCE_EXTENDED 1
# include <wchar.h>
# include <wctype.h>
# include <ncursesw/ncurses.h>