mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Michael Pratt <>
To: "" <>
Subject: [musl] [PATCH] strings.h: add missing features.h include directive
Date: Thu, 19 May 2022 06:28:39 +0000	[thread overview]
Message-ID: <> (raw)

From: Michael Pratt <>
Date: Wed, 18 May 2022 23:13:23 -0400
Subject: [PATCH] strings.h: add missing features.h include directive

it seems that there should be an include directive
of features.h here

otherwise it wouldn't be possible to include the functions
ffs, ffsl, ffsll
by using the header strings.h alone

Signed-off-by: Michael Pratt <>
 include/strings.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/strings.h b/include/strings.h
index db0960b4..b7a5ea08 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -5,6 +5,7 @@
 extern "C" {

+#include <features.h>

 #define __NEED_size_t
 #define __NEED_locale_t

                 reply	other threads:[~2022-05-19 10:57 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:

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

  git send-email \
    --in-reply-to='' \ \ \

* 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

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).