Hi!

On Tue, 2024-03-19 at 23:48:00 +0900, Simon Richter wrote:
> diff --git a/lib/compat/strnlen.c b/lib/compat/strnlen.c
> index d02bb4bbd..6a7eb0454 100644
> --- a/lib/compat/strnlen.c
> +++ b/lib/compat/strnlen.c
> @@ -22,6 +22,10 @@
>  
>  #include "compat.h"
>  
> +#ifdef HAVE_STRING_H
> +# include <string.h>
> +#endif
> +

Thanks! I ended up including this unconditionally (also because we are
not explicitly checking for this header which should always be there,
and if something else is checking for it, that would be an internal
implementation detail that might change in the future), and before
"compat.h". Now in git main.

Regards,
Guillem

Reply via email to