From c4318389ac5372aa59cb2f4b34cd13939879c6cf Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Sun, 5 Jul 2015 14:37:48 -0500 Subject: [PATCH] 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. --- watch.c | 1 + 1 file changed, 1 insertion(+) 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