revert one change in time.h; no evidence BSD_SOURCE should expose these..
[musl] / include / time.h
index 067b519..3cc0d28 100644 (file)
@@ -110,11 +110,11 @@ struct tm *getdate (const char *);
 #endif
 
 
-#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 int stime(time_t *);
+time_t timegm(struct tm *);
 #endif
 
-
 #ifdef __cplusplus
 }
 #endif