[hackers] [quark] add headers to make it compile under OpenBSD || Josuah Demangeon

From: <git_AT_suckless.org>
Date: Mon, 12 Feb 2018 20:35:42 +0100 (CET)

commit 55d7f000cdf9d4683caff71aea4f9d0cc0d13729
Author: Josuah Demangeon <mail_AT_josuah.net>
AuthorDate: Mon Feb 12 20:29:51 2018 +0100
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Mon Feb 12 20:35:37 2018 +0100

    add headers to make it compile under OpenBSD
    
    - 'struct in6_addr' is defined in <netinet/in.h>
    - 'AF_INET6' is defined in <sys/socket.h>

diff --git a/LICENSE b/LICENSE
index b316f39..90778ad 100644
--- a/LICENSE
+++ b/LICENSE
_AT_@ -6,6 +6,7 @@ Copyright 2004 Ted Unangst <tedu_AT_openbsd.org>
 Copyright 2004 Todd C. Miller <Todd.Miller_AT_courtesan.com>
 Copyright 2017 Hiltjo Posthuma <hiltjo_AT_codemadness.org>
 Copyright 2017 Quentin Rameau <quinq_AT_fifth.space>
+Copyright 2018 Josuah Demangeon <mail_AT_josuah.net>
 
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
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>
Received on Mon Feb 12 2018 - 20:35:42 CET

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