about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-09-17 12:16:34 -0700
committerLeah Neukirchen <leah@vuxu.org>2020-09-25 14:53:47 +0200
commit50dfdf56055613738a32356836809a3ddfc2bc6a (patch)
tree4b3146131ff7e1ab4a707c2b33e8c7b712c96a25
parentd2621a715bbd9c77adb83cff80b10c9ad9649173 (diff)
downloadmblaze-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.c1
-rw-r--r--mdeliver.c1
-rw-r--r--mflow.c1
-rw-r--r--mhdr.c1
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"