diff --git a/cde/programs/dtdocbook/instant/main.c b/cde/programs/dtdocbook/instant/main.c index 2b479d740..8a3f316a0 100644 --- a/cde/programs/dtdocbook/instant/main.c +++ b/cde/programs/dtdocbook/instant/main.c @@ -70,6 +70,7 @@ static char *CopyRt = #include #include #include +#include #include #include #include @@ -89,8 +90,12 @@ static char *CopyRt = /* for backwards compatibility */ #ifndef _MAXNAMLEN +#ifndef MAXNAMLEN +#define _MAXNAMLEN NAME_MAX +#else #define _MAXNAMLEN MAXNAMLEN #endif +#endif static int do_context, do_tree, do_summ, do_stats, do_validate, do_idlist; static char *this_prog;