diff options
author | Michael Forney <mforney@mforney.org> | 2020-09-17 12:16:34 -0700 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-09-25 14:53:47 +0200 |
commit | 50dfdf56055613738a32356836809a3ddfc2bc6a (patch) | |
tree | 4b3146131ff7e1ab4a707c2b33e8c7b712c96a25 | |
parent | d2621a715bbd9c77adb83cff80b10c9ad9649173 (diff) | |
download | mblaze-50dfdf56055613738a32356836809a3ddfc2bc6a.tar.gz mblaze-50dfdf56055613738a32356836809a3ddfc2bc6a.tar.xz mblaze-50dfdf56055613738a32356836809a3ddfc2bc6a.zip |
include strings.h for str(n)casecmp
These POSIX functions are declared in strings.h, so include this header explicitly instead of relying on the libc's default feature-test macros to include it through string.h.
-rw-r--r-- | magrep.c | 1 | ||||
-rw-r--r-- | mdeliver.c | 1 | ||||
-rw-r--r-- | mflow.c | 1 | ||||
-rw-r--r-- | mhdr.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/magrep.c b/magrep.c index 6f93a57..72ce1bb 100644 --- a/magrep.c +++ b/magrep.c @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include "blaze822.h" diff --git a/mdeliver.c b/mdeliver.c index 161cea5..27c4b9c 100644 --- a/mdeliver.c +++ b/mdeliver.c @@ -10,6 +10,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include "blaze822.h" diff --git a/mflow.c b/mflow.c index af6755d..1013da5 100644 --- a/mflow.c +++ b/mflow.c @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include "blaze822.h" diff --git a/mhdr.c b/mhdr.c index d434d1d..83bed02 100644 --- a/mhdr.c +++ b/mhdr.c @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include "blaze822.h" |