]> git.marmaro.de Git - mmh/blobdiff - zotnet/tws/dtime.c
Added include of mh.h for snprintf() prototype.
[mmh] / zotnet / tws / dtime.c
index 7e791f342373bdf476b98002f4be4737a3ae664b..bbfccf0f45e797204a00bd4899ad1a171a892584 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;