From 7b6e42a137f4096c7189012724a50b08a988e7d3 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 20 Mar 2024 00:49:17 +0100 Subject: [PATCH] libcompat: Include missing in strnlen module We need the header for the memchr() prototype. Reported-by: Simon Richter --- lib/compat/strnlen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/compat/strnlen.c b/lib/compat/strnlen.c index d02bb4bbd..288a298f9 100644 --- a/lib/compat/strnlen.c +++ b/lib/compat/strnlen.c @@ -20,6 +20,8 @@ # include #endif +#include + #include "compat.h" /* Find the length of STRING, but scan at most MAXLEN characters. -- 2.11.4.GIT