summaryrefslogtreecommitdiff
path: root/src/usr.sbin/ocspcheck/http.c
diff options
context:
space:
mode:
authorbeck <>2017-02-01 18:54:37 +0000
committerbeck <>2017-02-01 18:54:37 +0000
commitb3dcc1095fd45e1b675476e724ef65b38eedd4f3 (patch)
tree2b3fed14de891503d54a867949f6dcf11c344d08 /src/usr.sbin/ocspcheck/http.c
parenta3a0de32f396012b76b7afd227cb352aa5ef6f24 (diff)
downloadopenbsd-b3dcc1095fd45e1b675476e724ef65b38eedd4f3.tar.gz
openbsd-b3dcc1095fd45e1b675476e724ef65b38eedd4f3.tar.bz2
openbsd-b3dcc1095fd45e1b675476e724ef65b38eedd4f3.zip
netinet/in.h should be included, and freebsd and some others
don't have EAI_NODATA, so make this easier for people from bernard spill
Diffstat (limited to 'src/usr.sbin/ocspcheck/http.c')
-rw-r--r--src/usr.sbin/ocspcheck/http.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr.sbin/ocspcheck/http.c b/src/usr.sbin/ocspcheck/http.c
index 13b621a064..9aef1aac8d 100644
--- a/src/usr.sbin/ocspcheck/http.c
+++ b/src/usr.sbin/ocspcheck/http.c
@@ -1,4 +1,4 @@
1/* $Id: http.c,v 1.6 2017/01/25 13:31:01 benno Exp $ */ 1/* $Id: http.c,v 1.7 2017/02/01 18:54:37 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> 3 * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
4 * 4 *
@@ -15,9 +15,10 @@
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */ 16 */
17 17
18#include <arpa/inet.h>
19#include <netinet/in.h>
18#include <sys/socket.h> 20#include <sys/socket.h>
19#include <sys/param.h> 21#include <sys/param.h>
20#include <arpa/inet.h>
21 22
22#include <ctype.h> 23#include <ctype.h>
23#include <err.h> 24#include <err.h>