| author | Rich Felker <dalias@aerifal.cx> | 2012年04月18日 12:22:24 -0400 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2012年04月18日 12:22:24 -0400 |
| commit | ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1 (patch) | |
| tree | 28ef639c9b7db5e76820f114697b71dda08de201 /include/time.h | |
| parent | ed0e3a357e5a5aef394b0b94d13c3a5c078f67f2 (diff) | |
| download | musl-ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1.tar.gz | |
| -rw-r--r-- | include/time.h | 5 |
diff --git a/include/time.h b/include/time.h index ddfad58f..98d0111f 100644 --- a/include/time.h +++ b/include/time.h @@ -108,6 +108,11 @@ struct tm *getdate (const char *); #endif +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +int stime(time_t *); +#endif + + #ifdef __cplusplus } #endif |