Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <3acb4Qdg1Sj7Ro9DeRutBrZtovJCDXilSiB5LUjj67AoOn4jfB5FLplusQY_ycsEx0yj544pFMUo-tT6A9TLDjTm5PHMFEogVXuvVBW6Q3o=@protonmail.com>
Date: Thu, 19 May 2022 06:28:39 +0000
From: Michael Pratt <mcpratt@...tonmail.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: [PATCH] strings.h: add missing features.h include directive

From: Michael Pratt <mcpratt@...me>
Date: Wed, 18 May 2022 23:13:23 -0400
Subject: [PATCH] strings.h: add missing features.h include directive
To: musl@...ts.openwall.com

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 <mcpratt@...me>
---
 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" {
 #endif

+#include <features.h>

 #define __NEED_size_t
 #define __NEED_locale_t
--
2.30.2


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.