From: Andrew Wilcox Date: Sun, 5 Jul 2015 19:37:48 +0000 (-0500) Subject: Add _XOPEN_SOURCE_EXTENDED definition in WATCH8BIT X-Git-Tag: v3.3.11~21^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4318389ac5372aa59cb2f4b34cd13939879c6cf;p=procps-ng 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. --- diff --git a/watch.c b/watch.c index 40beacad..de46730c 100644 --- a/watch.c +++ b/watch.c @@ -49,6 +49,7 @@ #include #include #ifdef WITH_WATCH8BIT +# define _XOPEN_SOURCE_EXTENDED 1 # include # include # include