X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=manfmt.c;h=03b83033491147ccc89a6589d47aaf302943150a;hp=47092a8eeffbfc24822ca48fce8ae50cf166c316;hb=3b127365dbbc640bc1a0813b24baa925b99f5079;hpb=024c037ad5868decb5d300355ccd6220848ee220;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 {