diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-01-10 11:23:41 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-01-10 11:23:41 +0200 |
commit | ec2fc39fe4f4e6e242b3a669585049763968cdeb (patch) | |
tree | eaa1197169e639ff7daddaa0917e653a580c5b61 /build-aux | |
parent | sysdefs.h: Fix a comment. (diff) | |
download | xz-ec2fc39fe4f4e6e242b3a669585049763968cdeb.tar.xz |
xz: Include <strings.h> in suffix.c if needed for strcasecmp().
SUSv2 and POSIX.1‐2017 declare only a few functions in <strings.h>.
Of these, strcasecmp() is used on some platforms in suffix.c.
Nothing else in the project needs <strings.h> (at least if
building on a modern system).
sysdefs.h currently includes <strings.h> if HAVE_STRINGS_H is
defined and suffix.c relied on this.
Note that dos/config.h doesn't #define HAVE_STRINGS_H even though
DJGPP does have strings.h. It isn't needed with DJGPP as strcasecmp()
is also in <string.h> in DJGPP.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions