about summary refs log tree commit diff
path: root/resolv/tst-inet_pton.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/tst-inet_pton.c')
-rw-r--r--resolv/tst-inet_pton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/tst-inet_pton.c b/resolv/tst-inet_pton.c
index 71c679458a..7092143b07 100644
--- a/resolv/tst-inet_pton.c
+++ b/resolv/tst-inet_pton.c
@@ -21,6 +21,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <string.h>
+#include <sys/socket.h>
 #include <support/check.h>
 #include <support/next_to_fault.h>
 #include <support/xunistd.h>