0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.3958: build failure compiling xxd with "-std=c2x"

Problem:    Build failure compiling xxd with "-std=c2x".
Solution:   define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
This commit is contained in:
Yegappan Lakshmanan 2021-12-31 17:33:47 +00:00 committed by Bram Moolenaar
parent 1a9922243a
commit ef089f50f9
2 changed files with 6 additions and 0 deletions

View File

@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3958,
/**/
3957,
/**/

View File

@ -72,6 +72,10 @@
# define CYGWIN
#endif
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(__CYGWIN__)
# define _XOPEN_SOURCE 700 /* for fdopen() */
#endif
#include <stdio.h>
#ifdef VAXC
# include <file.h>