mblaze, a Maildir-focused command line mail client
 help / color / mirror / code / Atom feed
From: Michael Forney <mforney@mforney.org>
To: mblaze@googlegroups.com
Subject: [PATCH] mmime: include strings.h for strncasecmp
Date: Wed,  7 Dec 2022 13:34:37 -0800	[thread overview]
Message-ID: <20221207213437.14008-1-mforney@mforney.org> (raw)

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.

                 reply	other threads:[~2022-12-07 21:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221207213437.14008-1-mforney@mforney.org \
    --to=mforney@mforney.org \
    --cc=mblaze@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).