[hackers] [quark][PATCH] add headers to make it compile under OpenBSD

From: Josuah Demangeon <mail_AT_josuah.net>
Date: Mon, 12 Feb 2018 20:29:51 +0100

- '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
_AT_@ -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
Received on Mon Feb 12 2018 - 20:29:51 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 12 2018 - 20:36:27 CET