summaryrefslogtreecommitdiff
path: root/posix/tst-rfc3484.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-rfc3484.c')
-rw-r--r--posix/tst-rfc3484.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index abfb76d543..8d273aec84 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
@@ -78,6 +79,7 @@ do_test (void)
results[i].got_source_addr = true;
memcpy(&results[i].source_addr, &so, sizeof (so));
results[i].source_addr_len = sizeof (so);
+ results[i].source_addr_flags = 0;
}
qsort (results, naddrs, sizeof (results[0]), rfc3484_sort);