]> git.ipfire.org Git - thirdparty/xz.git/commit
sysdefs.h: Don't include strings.h anymore.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 10 Jan 2023 09:56:11 +0000 (11:56 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 11 Jan 2023 15:49:59 +0000 (17:49 +0200)
commit674c89fdb8c457ebc3a0652e235d8b6cd7b7dee2
tree0c550e64b9e101c1d24255b2e1818c7313bfb540
parent2a6b938084fac9ddb39cd69c9beeed15c3b6f6f6
sysdefs.h: Don't include strings.h anymore.

On some platforms src/xz/suffix.c may need <strings.h> for
strcasecmp() but suffix.c includes the header when it needs it.

Unless there is an old system that otherwise supports enough C99
to build XZ Utils but doesn't have C89/C90-compatible <string.h>,
there should be no need to include <strings.h> in sysdefs.h.
src/common/sysdefs.h