X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=manfmt.c;h=03b83033491147ccc89a6589d47aaf302943150a;hp=47092a8eeffbfc24822ca48fce8ae50cf166c316;hb=2f305f287d1c2d392718c8e9e70c1b0213e306e1;hpb=8409e729e576b28d6c74c9fae7971aa64bd4a906;ds=sidebyside diff --git a/manfmt.c b/manfmt.c index 47092a8..03b8303 100644 --- a/manfmt.c +++ b/manfmt.c @@ -3,10 +3,18 @@ static char rcsid[] ATTR_UNUSED = "$Id$"; #endif +#ifdef HAVE_STDIO_H #include -#include +#endif +#ifdef HAVE_STDLIB_H #include +#endif +#ifdef HAVE_STRING_H +#include +#endif +#ifdef HAVE_LIMITS_H #include +#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 {