projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support _BSD_SOURCE feature test macro
[musl]
/
include
/
sys
/
stat.h
diff --git
a/include/sys/stat.h
b/include/sys/stat.h
index
5d50ae7
..
14a5424
100644
(file)
--- a/
include/sys/stat.h
+++ b/
include/sys/stat.h
@@
-90,7
+90,7
@@
int utimensat(int, const char *, const struct timespec [2], int);
int lchmod(const char *, mode_t);
#endif
-#if
def _GNU_SOURCE
+#if
defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define S_IREAD S_IRUSR
#define S_IWRITE S_IWUSR
#define S_IEXEC S_IXUSR