summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sasyncd
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 04:21:08 +0000
committerguenther <guenther@openbsd.org>2016-08-27 04:21:08 +0000
commit498aec4fb50c4f350ec33deed80bc0a88fd49410 (patch)
treea1e527690303216a127e7861400540d386541c03 /usr.sbin/sasyncd
parentPull in <sys/time.h> for gettimeofday() (diff)
downloadwireguard-openbsd-498aec4fb50c4f350ec33deed80bc0a88fd49410.tar.xz
wireguard-openbsd-498aec4fb50c4f350ec33deed80bc0a88fd49410.zip
Pull in <sys/select.h> for fd_set
ok deraadt@
Diffstat (limited to 'usr.sbin/sasyncd')
-rw-r--r--usr.sbin/sasyncd/carp.c3
-rw-r--r--usr.sbin/sasyncd/log.c3
-rw-r--r--usr.sbin/sasyncd/pfkey.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/sasyncd/carp.c b/usr.sbin/sasyncd/carp.c
index 7a4eb11fdd8..856fc5c1b46 100644
--- a/usr.sbin/sasyncd/carp.c
+++ b/usr.sbin/sasyncd/carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: carp.c,v 1.14 2015/11/12 09:27:09 otto Exp $ */
+/* $OpenBSD: carp.c,v 1.15 2016/08/27 04:21:08 guenther Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -32,6 +32,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
+#include <sys/select.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/route.h>
diff --git a/usr.sbin/sasyncd/log.c b/usr.sbin/sasyncd/log.c
index 1f58bfb0577..70a1e5c51b6 100644
--- a/usr.sbin/sasyncd/log.c
+++ b/usr.sbin/sasyncd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.6 2009/11/11 23:05:28 deraadt Exp $ */
+/* $OpenBSD: log.c,v 1.7 2016/08/27 04:21:08 guenther Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -30,6 +30,7 @@
*/
#include <sys/types.h>
+#include <sys/select.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
diff --git a/usr.sbin/sasyncd/pfkey.c b/usr.sbin/sasyncd/pfkey.c
index 6679973f096..000fe7f53dd 100644
--- a/usr.sbin/sasyncd/pfkey.c
+++ b/usr.sbin/sasyncd/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.26 2016/07/18 21:22:09 benno Exp $ */
+/* $OpenBSD: pfkey.c,v 1.27 2016/08/27 04:21:08 guenther Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -32,6 +32,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
+#include <sys/select.h>
#include <sys/socket.h>
#include <sys/queue.h>
#include <sys/sysctl.h>