[tex-k] Minor prototype fix in kpathsea header file

Karl Berry karl at freefriends.org
Fri Oct 18 22:37:50 CEST 2019

Hi Doug,

    #if !defined(HAVE_STRING_H)
    extern char *strtok ();           <--
    #ifndef strstr
    extern char *strstr ();           <--

Seems to me the real question is why HAVE_STRING_H is not
defined. Surely it provides the standard <string.h> header, so it should
be. If you look at the config.log file, you should find the test program
and invocation that failed.

    The correct fix, based on looking up their latest prototypes in system

It's generally neither desirable nor possible to define prototypes for
system functions, because they vary from system to system, over the
(many) years, etc. Certainly so in this case. --best, karl.

More information about the tex-k mailing list