Merge pull request #1161 from fche/patch-1

vere/unix.c: set _XOPEN_SOURCE
This commit is contained in:
Joe Bryan 2019-01-30 19:16:37 -05:00 committed by GitHub
commit 77947eda40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,9 @@
*** C file.
**/
# if defined(U3_OS_linux)
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 700
# endif
# include <inttypes.h>
# include <stdlib.h>
# include <string.h>

View File

@ -1,6 +1,7 @@
/* vere/unix.c
**
*/
#include "all.h"
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
@ -12,7 +13,6 @@
#include <libgen.h>
#include <ftw.h>
#include "all.h"
#include "vere/vere.h"
/* _unix_down(): descend path.