From ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 18 Apr 2012 12:22:24 -0400 Subject: legacy junk compatibility grab-bag - add the rest of the junk traditionally in sys/param.h - add prototypes for some nonstandard functions - add _GNU_SOURCE to their source files so the compiler can check proto --- include/time.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/time.h') 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 -- cgit v1.2.1