aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-08-16 16:05:19 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-08-16 16:05:19 +0200
commit34bb581e7713589d38c797c214f4c6bf2b14b702 (patch)
tree8451d09ddf28c492beda74e46686b2eccf256458 /support
parent91ae020f5a9c43ab319edce64355ca95a5f8dfad (diff)
downloadglibc-34bb581e7713589d38c797c214f4c6bf2b14b702.zip
glibc-34bb581e7713589d38c797c214f4c6bf2b14b702.tar.gz
glibc-34bb581e7713589d38c797c214f4c6bf2b14b702.tar.bz2
support: Include <string.h> for strcmp in support_format_addrinfo.c
This is currently implied by the internal headers, but it makes sense not to rely on this. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'support')
-rw-r--r--support/support_format_addrinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/support_format_addrinfo.c b/support/support_format_addrinfo.c
index cbc7291..77f4db3 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>