diff options
author | Michael Forney <mforney@mforney.org> | 2020-12-15 04:46:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 14:46:30 +0200 |
commit | 38e525fb7b8562a96422ffe9d7c65cb3569b3e6b (patch) | |
tree | 077434197a4ee391945e8fcf5e349f0e50d56e4f | |
parent | 6535bd6c3592f24a05d752939b89f6d6eeb458c3 (diff) | |
download | one-true-awk-38e525fb7b8562a96422ffe9d7c65cb3569b3e6b.tar.gz |
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
-rw-r--r-- | lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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> |