mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 22:15:47 +03:00
Merge pull request #1161 from fche/patch-1
vere/unix.c: set _XOPEN_SOURCE
This commit is contained in:
commit
77947eda40
@ -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>
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user