--- Imakefile +++ Imakefile 1999/03/03 06:44:51 @@ -5,7 +5,8 @@ * -DPRINTCMD=\"/usr/ucb/lpr\" - path to send file to printer * -DTILDE_EXPANSION - perform ~ expansion on filenames */ - DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION + DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION \ + -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" SRCS = help.c init.c popup.c util.c callbacks.c window.c main.c \ --- regexp/regexp.c +++ regexp/regexp.c 1999/03/03 06:45:34 @@ -789,8 +789,9 @@ register const char *string; { register char *s; +#ifndef strchr extern char *strchr(); - +#endif /* Be paranoid... */ if (prog == NULL || string == NULL) { regerror("NULL parameter"); @@ -888,8 +889,9 @@ { register char *scan; /* Current node. */ char *next; /* Next node. */ +#ifndef strchr extern char *strchr(); - +#endif scan = prog; #ifdef DEBUG if (scan != NULL && regnarrate) --- regexp/regsub.c +++ regexp/regsub.c 1999/03/03 06:44:51 @@ -44,7 +44,9 @@ register int no; register int len; #ifndef AIXV3 +#ifndef strncpy extern char *strncpy(); +#endif #endif if (prog == NULL || source == NULL || dest == NULL) {