about summary refs log tree commit diff
path: root/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h5
1 files changed, 5 insertions, 0 deletions
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