- 'struct in6_addr' is defined in <netinet/in.h> - 'AF_INET6' is defined in <sys/socket.h> --- http.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/http.c b/http.c index 6f2b7c2..13a77b6 100644 --- a/http.c +++ b/http.c @@ -3,11 +3,13 @@ #include <ctype.h> #include <errno.h> #include <limits.h> +#include <netinet/in.h> #include <regex.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #include <string.h> +#include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> -- 2.14.2