fix places where _BSD_SOURCE failed to yield a superset of _XOPEN_SOURCE
[musl] / include / time.h
index 6124ef1..16ec08a 100644 (file)
@@ -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;