]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - misc.h
New function ltime() returns a struct tm of the current local time.
[PuTTY.git] / misc.h
diff --git a/misc.h b/misc.h
index 77394469b9b0b5df716cce713c804d65e244b3a9..fe5056c622ccb830cfbceb6f0e63f3fbed2389bc 100644 (file)
--- a/misc.h
+++ b/misc.h
@@ -5,6 +5,7 @@
 
 #include <stdio.h>                    /* for FILE * */
 #include <stdarg.h>                   /* for va_list */
+#include <time.h>                      /* for struct_tm */
 
 #ifndef FALSE
 #define FALSE 0
@@ -41,6 +42,8 @@ void bufchain_prefix(bufchain *ch, void **data, int *len);
 void bufchain_consume(bufchain *ch, int len);
 void bufchain_fetch(bufchain *ch, void *data, int len);
 
+struct tm ltime(void);
+
 /*
  * Debugging functions.
  *