about summary refs log tree commit diff
path: root/resolv/tst-resolv-ai_idn-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/tst-resolv-ai_idn-common.c')
-rw-r--r--resolv/tst-resolv-ai_idn-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/tst-resolv-ai_idn-common.c b/resolv/tst-resolv-ai_idn-common.c
index 9e8ed7611c..ff6ff13bac 100644
--- a/resolv/tst-resolv-ai_idn-common.c
+++ b/resolv/tst-resolv-ai_idn-common.c
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/socket.h>
 #include <support/check.h>
 #include <support/check_nss.h>
 #include <support/resolv_test.h>