about summary refs log tree commit diff
path: root/inet/tst-inet6_scopeid_pton.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/tst-inet6_scopeid_pton.c')
-rw-r--r--inet/tst-inet6_scopeid_pton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/tst-inet6_scopeid_pton.c b/inet/tst-inet6_scopeid_pton.c
index 37ec20b1e2..4c25d23cdd 100644
--- a/inet/tst-inet6_scopeid_pton.c
+++ b/inet/tst-inet6_scopeid_pton.c
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <sys/socket.h>
 #include <arpa/inet.h>
 #include <inttypes.h>
 #include <net-internal.h>