summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/iked/iked.h3
-rw-r--r--sbin/isakmpd/app.c4
-rw-r--r--sbin/isakmpd/attribute.c3
-rw-r--r--sbin/isakmpd/cookie.c3
-rw-r--r--sbin/isakmpd/field.c3
-rw-r--r--sbin/isakmpd/key.c3
-rw-r--r--usr.sbin/httpd/httpd.h3
-rw-r--r--usr.sbin/smtpd/smtpd.h3
-rw-r--r--usr.sbin/ypldap/aldap.c5
9 files changed, 20 insertions, 10 deletions
diff --git a/sbin/iked/iked.h b/sbin/iked/iked.h
index ae07b19958b..38de8754582 100644
--- a/sbin/iked/iked.h
+++ b/sbin/iked/iked.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: iked.h,v 1.101 2017/01/20 14:10:05 mikeb Exp $ */
+/* $OpenBSD: iked.h,v 1.102 2017/02/03 08:23:46 guenther Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -19,6 +19,7 @@
#include <sys/types.h>
#include <sys/tree.h>
#include <sys/queue.h>
+#include <arpa/inet.h>
#include <limits.h>
#include <imsg.h>
diff --git a/sbin/isakmpd/app.c b/sbin/isakmpd/app.c
index b66316cba20..3627b0289cf 100644
--- a/sbin/isakmpd/app.c
+++ b/sbin/isakmpd/app.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: app.c,v 1.13 2014/01/22 03:09:31 deraadt Exp $ */
+/* $OpenBSD: app.c,v 1.14 2017/02/03 08:23:46 guenther Exp $ */
/* $EOM: app.c,v 1.6 1999/05/01 20:21:06 niklas Exp $ */
/*
@@ -35,6 +35,8 @@
* one only.
*/
+#include <netinet/in.h>
+
#include "app.h"
#include "log.h"
#include "monitor.h"
diff --git a/sbin/isakmpd/attribute.c b/sbin/isakmpd/attribute.c
index 2bc60881aeb..4d3eb74ee0a 100644
--- a/sbin/isakmpd/attribute.c
+++ b/sbin/isakmpd/attribute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: attribute.c,v 1.12 2005/04/08 22:32:09 cloder Exp $ */
+/* $OpenBSD: attribute.c,v 1.13 2017/02/03 08:23:46 guenther Exp $ */
/* $EOM: attribute.c,v 1.10 2000/02/20 19:58:36 niklas Exp $ */
/*
@@ -30,6 +30,7 @@
*/
#include <sys/types.h>
+#include <netinet/in.h>
#include <string.h>
#include "attribute.h"
diff --git a/sbin/isakmpd/cookie.c b/sbin/isakmpd/cookie.c
index 3966e98398c..bc4cb2fe72d 100644
--- a/sbin/isakmpd/cookie.c
+++ b/sbin/isakmpd/cookie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cookie.c,v 1.16 2014/01/23 01:04:28 deraadt Exp $ */
+/* $OpenBSD: cookie.c,v 1.17 2017/02/03 08:23:46 guenther Exp $ */
/* $EOM: cookie.c,v 1.21 1999/08/05 15:00:04 niklas Exp $ */
/*
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
diff --git a/sbin/isakmpd/field.c b/sbin/isakmpd/field.c
index f7dccc27f8a..1b84c89af17 100644
--- a/sbin/isakmpd/field.c
+++ b/sbin/isakmpd/field.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: field.c,v 1.20 2015/06/03 02:24:36 millert Exp $ */
+/* $OpenBSD: field.c,v 1.21 2017/02/03 08:23:46 guenther Exp $ */
/* $EOM: field.c,v 1.11 2000/02/20 19:58:37 niklas Exp $ */
/*
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <netinet/in.h>
#include "constants.h"
#include "field.h"
diff --git a/sbin/isakmpd/key.c b/sbin/isakmpd/key.c
index 22ecf1c8029..e661be3c16b 100644
--- a/sbin/isakmpd/key.c
+++ b/sbin/isakmpd/key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.c,v 1.25 2007/03/05 20:11:40 moritz Exp $ */
+/* $OpenBSD: key.c,v 1.26 2017/02/03 08:23:46 guenther Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -20,6 +20,7 @@
* PURPOSE.
*/
+#include <netinet/in.h>
#include <string.h>
#include <stdlib.h>
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h
index 6a9ab80e9ac..f6f09018669 100644
--- a/usr.sbin/httpd/httpd.h
+++ b/usr.sbin/httpd/httpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: httpd.h,v 1.128 2017/02/02 22:19:59 reyk Exp $ */
+/* $OpenBSD: httpd.h,v 1.129 2017/02/03 08:23:46 guenther Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -28,6 +28,7 @@
#include <sys/time.h>
#include <net/if.h>
+#include <netinet/in.h>
#include <stdarg.h>
#include <limits.h>
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 1c3b4533132..e1872f436f2 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.528 2017/01/09 09:53:23 reyk Exp $ */
+/* $OpenBSD: smtpd.h,v 1.529 2017/02/03 08:23:46 guenther Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -22,6 +22,7 @@
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
#endif
+#include <netinet/in.h>
#include <event.h>
#include "smtpd-defines.h"
diff --git a/usr.sbin/ypldap/aldap.c b/usr.sbin/ypldap/aldap.c
index 6f867612baa..1e8ed37067b 100644
--- a/usr.sbin/ypldap/aldap.c
+++ b/usr.sbin/ypldap/aldap.c
@@ -1,5 +1,5 @@
-/* $Id: aldap.c,v 1.34 2016/10/22 03:37:13 deraadt Exp $ */
-/* $OpenBSD: aldap.c,v 1.34 2016/10/22 03:37:13 deraadt Exp $ */
+/* $Id: aldap.c,v 1.35 2017/02/03 08:23:46 guenther Exp $ */
+/* $OpenBSD: aldap.c,v 1.35 2017/02/03 08:23:46 guenther Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
@@ -18,6 +18,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>