diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-09-15 00:46:44 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-09-15 00:46:44 +0000 |
commit | 96cb08314b92757feed28175fe6860f2d3854e6a (patch) | |
tree | c26f7dabf2a0b76f8920162c3553fbdb2046850a /usr.sbin/sasyncd/sasyncd.h | |
parent | a6884d91d148b2e2f115eb1c4fe24bd146ddc446 (diff) |
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/sasyncd.h')
-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 }; |