Added include of mh.h for snprintf() prototype.
[mmh] / zotnet / tws / dtime.c
index 7e791f3..bbfccf0 100644 (file)
@@ -5,6 +5,7 @@
  * $Id$
  */
 
+#include "h/mh.h"   /* for snprintf() */
 #include <h/nmh.h>
 #include <tws.h>
 
@@ -247,7 +248,7 @@ dgmtime (time_t *clock)
 char *
 dctime (struct tws *tw)
 {
-    static char buffer[25];
+    static char buffer[26];
 
     if (!tw)
        return NULL;