diff options
Diffstat (limited to 'Src/system.h')
-rw-r--r-- | Src/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h index 2d89ac80e..34b06c583 100644 --- a/Src/system.h +++ b/Src/system.h @@ -52,6 +52,10 @@ # undef HAVE_SYS_UTSNAME_H #endif +#if defined(ZSH_CURSES_SOURCE) && defined(ZSH_CURSES_NEEDS_XOPEN) +#define _XOPEN_SOURCE_EXTENDED 1 +#endif + /* * Solaris by default zeroes all elements of the tm structure in * strptime(). Unfortunately that gives us no way of telling whether |