X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=manfmt.c;h=1c6eeddab95049159fe9670ce39ccb5394449e98;hp=47092a8eeffbfc24822ca48fce8ae50cf166c316;hb=30abdc172e133a85bd88a9831450d0fffac1f258;hpb=8409e729e576b28d6c74c9fae7971aa64bd4a906 diff --git a/manfmt.c b/manfmt.c index 47092a8..1c6eedd 100644 --- a/manfmt.c +++ b/manfmt.c @@ -1,12 +1,21 @@ +#define WANT_DECLARATIONS 1 #include "config.h" #ifndef lint 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 +33,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 {