My local network connectivity changed, uninteresting to casual user.
[mdsms.git] / manfmt.c
index 47092a8..03b8303 100644 (file)
--- a/manfmt.c
+++ b/manfmt.c
@@ -3,10 +3,18 @@
 static char rcsid[] ATTR_UNUSED = "$Id$";
 #endif
 
+#ifdef HAVE_STDIO_H
 #include <stdio.h>
-#include <string.h>
+#endif
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+#ifdef HAVE_LIMITS_H
 #include <limits.h>
+#endif
 
 static char buf[LINE_MAX];
 
@@ -24,6 +32,7 @@ char f;
                        if (*s=='\t') {
                                if ((f=!f)) {
 /*fprintf(stderr,"DURING TURN-ON:%s",s);*/
+                                       while (s[1]==' ') s++;
                                        if (s[1]=='"') s++;
                                        }
                                else {