Include <strings.h> for strcasecmp (#99)

Though some implementations include this header indirectly through
string.h by default, the POSIX header that declares strcasecmp is
strings.h[0].

[0] https://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html
This commit is contained in:
Michael Forney 2020-12-15 04:46:30 -08:00 committed by GitHub
parent 6535bd6c35
commit 38e525fb7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
lib.c
View File

@ -25,6 +25,7 @@ THIS SOFTWARE.
#define DEBUG
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>