X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ftime.h;h=3cc0d28ad923d4f6a66d62b707464a5e129ef3c0;hp=067b5196812190f1b13b23b76218734f6961bf53;hb=efe9751468aae9eefd2f43781ae6d46170d97512;hpb=419ae6d5c95629d3ebaff6f1880d52cb027ba924 diff --git a/include/time.h b/include/time.h index 067b5196..3cc0d28a 100644 --- a/include/time.h +++ b/include/time.h @@ -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