diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-09-10 12:27:33 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-09-10 12:27:33 -0400 |
commit | ab8f6a6e42ff893041f7545a23e6d6a0edde07fb (patch) | |
tree | 827be99b11db4cbf694ca6adb5c8d1b9917672a8 /include/time.h | |
parent | e6403887ccf172974d2da5304c3e4043ebad41d2 (diff) | |
download | musl-ab8f6a6e42ff893041f7545a23e6d6a0edde07fb.tar.gz musl-ab8f6a6e42ff893041f7545a23e6d6a0edde07fb.tar.bz2 musl-ab8f6a6e42ff893041f7545a23e6d6a0edde07fb.tar.xz musl-ab8f6a6e42ff893041f7545a23e6d6a0edde07fb.zip |
fix places where _BSD_SOURCE failed to yield a superset of _XOPEN_SOURCE
the vast majority of these failures seem to have been oversights at
the time _BSD_SOURCE was added, or perhaps shortly afterward. the one
which may have had some reason behind it is omission of setpgrp from
the _BSD_SOURCE feature profile, since the standard setpgrp interface
conflicts with a legacy (pre-POSIX) BSD interface by the same name.
however, such omission is not aligned with our general policy in this
area (for example, handling of similar _GNU_SOURCE cases) and should
not be preserved.
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h index 6124ef1e..16ec08ae 100644 --- a/include/time.h +++ b/include/time.h @@ -116,7 +116,7 @@ int timer_getoverrun (timer_t); #endif -#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_BSD_SOURCE) || defined(_GNU_SOURCE) char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict); extern int daylight; extern long timezone; |