diff --git a/cde/programs/dtdocbook/lib/tptregexp/regsub.c b/cde/programs/dtdocbook/lib/tptregexp/regsub.c index b637fa885..3e94a2b2d 100644 --- a/cde/programs/dtdocbook/lib/tptregexp/regsub.c +++ b/cde/programs/dtdocbook/lib/tptregexp/regsub.c @@ -42,6 +42,7 @@ * be misrepresented as being the original software. */ #include +#include #include #include "regmagic.h" @@ -62,7 +63,6 @@ tpt_regsub(regexp *prog, char *source, char *dest) char c; int no; int len; - extern char *strncpy(); if (prog == NULL || source == NULL || dest == NULL) { tpt_regerror("NULL parm to regsub");