Commit ff7d456b authored by Heiko Becker's avatar Heiko Becker 🎸

Include <strings.h> for strcasecmp

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


Test Plan: Builds fine with glibc and musl libcs.

Differential Revision:
parent a6bdaa02
......@@ -38,6 +38,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#ifdef CAN_CLOSE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment