* [PATCH] mmime: include strings.h for strncasecmp
@ 2022-12-07 21:34 Michael Forney
0 siblings, 0 replies; only message in thread
From: Michael Forney @ 2022-12-07 21:34 UTC (permalink / raw)
To: mblaze
This POSIX function is defined in strings.h, so include it explicitly
rather than relying on implicit inclusion through default feature-test
macros.
---
mmime.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mmime.c b/mmime.c
index ab5bcf4..6334569 100644
--- a/mmime.c
+++ b/mmime.c
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <time.h>
#include <unistd.h>
--
2.37.3
--
You received this message because you are subscribed to the Google Groups "mblaze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mblaze+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mblaze/20221207213437.14008-1-mforney%40mforney.org.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-07 21:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07 21:34 [PATCH] mmime: include strings.h for strncasecmp Michael Forney
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mblaze/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).