summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sasyncd
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-09-15 00:46:43 +0000
committerguenther <guenther@openbsd.org>2012-09-15 00:46:43 +0000
commit0c1e48e0ce24b27da7eaa076cdd605dc6fccbd76 (patch)
tree59f0b5e84a17ccaa2fddf7a4532401ab9b93d3b5 /usr.sbin/sasyncd
parentDon't read the xrun counter before the offset in the audio ring, (diff)
downloadwireguard-openbsd-0c1e48e0ce24b27da7eaa076cdd605dc6fccbd76.tar.xz
wireguard-openbsd-0c1e48e0ce24b27da7eaa076cdd605dc6fccbd76.zip
Don't depend on sa_family_t being typedefed by <sys/types.h>; pull in
<netinet/in.h> to reliably get it ok matthew@, millert@, deraadt@
Diffstat (limited to 'usr.sbin/sasyncd')
-rw-r--r--usr.sbin/sasyncd/sasyncd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sasyncd/sasyncd.h b/usr.sbin/sasyncd/sasyncd.h
index ce4be7afd48..92f8ec6e013 100644
--- a/usr.sbin/sasyncd/sasyncd.h
+++ b/usr.sbin/sasyncd/sasyncd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sasyncd.h,v 1.16 2012/04/14 12:11:08 haesbaert Exp $ */
+/* $OpenBSD: sasyncd.h,v 1.17 2012/09/15 00:46:43 guenther Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -30,6 +30,7 @@
*/
+#include <netinet/in.h> /* in_port_t and sa_family_t */
#include <sys/queue.h>
enum RUNSTATE { INIT = 0, SLAVE, MASTER, FAIL };