summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/acme-client/http.c6
-rw-r--r--usr.sbin/ocspcheck/http.c7
2 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/acme-client/http.c b/usr.sbin/acme-client/http.c
index 15a09b03a40..d49cdc8bd10 100644
--- a/usr.sbin/acme-client/http.c
+++ b/usr.sbin/acme-client/http.c
@@ -1,4 +1,4 @@
-/* $Id: http.c,v 1.18 2017/01/24 13:32:55 jsing Exp $ */
+/* $Id: http.c,v 1.19 2017/02/03 08:08:15 guenther Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -15,9 +15,11 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/param.h>
+
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <ctype.h>
#include <err.h>
diff --git a/usr.sbin/ocspcheck/http.c b/usr.sbin/ocspcheck/http.c
index 9aef1aac8df..456840b391c 100644
--- a/usr.sbin/ocspcheck/http.c
+++ b/usr.sbin/ocspcheck/http.c
@@ -1,4 +1,4 @@
-/* $Id: http.c,v 1.7 2017/02/01 18:54:37 beck Exp $ */
+/* $Id: http.c,v 1.8 2017/02/03 08:08:15 guenther Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -15,10 +15,11 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/types.h>
+#include <sys/socket.h>
+
#include <arpa/inet.h>
#include <netinet/in.h>
-#include <sys/socket.h>
-#include <sys/param.h>
#include <ctype.h>
#include <err.h>