Add netinet/in.h to sock.c

It was missing but necessary for some defines.
This commit is contained in:
Laslo Hunhold 2018-03-05 10:24:46 +01:00
parent a20136fa18
commit 6770dc06e6

1
sock.c
View file

@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/in.h>
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>