Include <strings.h> for strcasecmp

Authored by heikobecker on Mar 1 2019, 4:09 PM.

Description

Include <strings.h> for strcasecmp

Summary:
POSIX states [1] that it is in the <strings.h> include file, not
<string.h>. While it's likely pulled in implicitly for glibc, its
absence causes a build error with musl libc
(src/wmlib/cdrom.c:128:33: error: implicit declaration of function
'strcasecmp';).

[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html

Test Plan: Builds fine with glibc and musl libcs.

Differential Revision: https://phabricator.kde.org/D19614

Details

Committed
heikobeckerMar 25 2019, 7:42 AM
Differential Revision
D19614: Include <strings.h> for strcasecmp
Parents
R349:a6bdaa027e29: Fix minor EBN issues
Branches
Unknown
Tags
Unknown