author | Rich Felker <dalias@aerifal.cx> | 2014年09月10日 12:47:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014年09月10日 12:47:55 -0400 |
commit | 5edbc6fe13e1e0f27e3d3a20f2582da476f74c4b (patch) | |
tree | 911e05d0aa3f6f1f33869e3daa759aa0d4685051 | |
parent | f929493c49bbb304832b27e1e2b919aa19ddf470 (diff) | |
download | musl-5edbc6fe13e1e0f27e3d3a20f2582da476f74c4b.tar.gz |
-rw-r--r-- | include/features.h | 4 |
diff --git a/include/features.h b/include/features.h index 61ad2f5b..3cc3e579 100644 --- a/include/features.h +++ b/include/features.h @@ -5,6 +5,10 @@ #define _GNU_SOURCE 1 #endif +#if defined(_DEFAULT_SOURCE) && !defined(_BSD_SOURCE) +#define _BSD_SOURCE 1 +#endif + #if !defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE) \ && !defined(_XOPEN_SOURCE) && !defined(_GNU_SOURCE) \ && !defined(_BSD_SOURCE) && !defined(__STRICT_ANSI__) |