summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-rfc3484-2.c1
-rw-r--r--posix/tst-rfc3484.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c
index b3987c8cd5..436ccf1e9c 100644
--- a/posix/tst-rfc3484-2.c
+++ b/posix/tst-rfc3484-2.c
@@ -1,5 +1,6 @@
#include <stdbool.h>
#include <stdio.h>
+#include <ifaddrs.h>
/* Internal definitions used in the libc code. */
#define __getservbyname_r getservbyname_r
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index abfb76d543..0409a04593 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -1,5 +1,6 @@
#include <stdbool.h>
#include <stdio.h>
+#include <ifaddrs.h>
/* Internal definitions used in the libc code. */
#define __getservbyname_r getservbyname_r