]> git.ipfire.org Git - thirdparty/make.git/commit
Include <strings.h> globally
authorPaul Smith <psmith@gnu.org>
Sun, 8 Jan 2023 02:59:16 +0000 (21:59 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 8 Jan 2023 15:24:09 +0000 (10:24 -0500)
commit1656cd051c7f28de359b1f188b20a5a688004267
treeba4c83df394510b2a324b39ccf028778737f9f7f
parent31a1337c2386f7def3d079e8d044443ba093ba92
Include <strings.h> globally

Various code uses str{,n}casecmp() so include <strings.h>, if it
exists, everywhere.

* configure.ac: Check for <strings.h> explicitly.
* src/makeint.h: Include it if HAVE_STRINGS_H, for str{,n}casecmp().
* src/job.c: Remove include of <strings.h>.
* src/main.c: Ditto.
configure.ac
src/job.c
src/main.c
src/makeint.h