diff options
author | guenther <guenther@openbsd.org> | 2012-09-15 00:46:43 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2012-09-15 00:46:43 +0000 |
commit | 0c1e48e0ce24b27da7eaa076cdd605dc6fccbd76 (patch) | |
tree | 59f0b5e84a17ccaa2fddf7a4532401ab9b93d3b5 /usr.sbin/sasyncd | |
parent | Don't read the xrun counter before the offset in the audio ring, (diff) | |
download | wireguard-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.h | 3 |
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 }; |