[2/5] support: Include <string.h> for strcmp in support_format_addrinfo.c
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
fail
|
Patch failed to apply
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
fail
|
Patch failed to apply
|
Commit Message
This is currently implied by the internal headers, but it makes
sense not to rely on this.
---
support/support_format_addrinfo.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 16/08/24 09:34, Florian Weimer wrote:
> This is currently implied by the internal headers, but it makes
> sense not to rely on this.
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> ---
> support/support_format_addrinfo.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/support/support_format_addrinfo.c b/support/support_format_addrinfo.c
> index cbc72910a9..77f4db345c 100644
> --- a/support/support_format_addrinfo.c
> +++ b/support/support_format_addrinfo.c
> @@ -22,6 +22,7 @@
> #include <errno.h>
> #include <stdio.h>
> #include <stdlib.h>
> +#include <string.h>
> #include <support/support.h>
> #include <support/xmemstream.h>
>
@@ -22,6 +22,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <support/support.h>
#include <support/xmemstream.h>