From d458439970caffc3bdebc3c139f29e02b285db55 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 8 Aug 2016 16:28:25 +0200 Subject: import and use timegm from musl It's ridiculous this function is not in the standards. --- blaze822.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'blaze822.h') diff --git a/blaze822.h b/blaze822.h index 2ffc031..0808239 100644 --- a/blaze822.h +++ b/blaze822.h @@ -1,6 +1,8 @@ -#include #include +#include +#include + struct message; // blaze822.c @@ -71,3 +73,7 @@ char *blaze822_home_file(char *basename); // filter.c int filter(char *input, size_t inlen, char *cmd, char **outputo, size_t *outleno); + +// mygmtime.c + +time_t tm_to_secs(const struct tm *tm); -- cgit 1.4.1