diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-12-21 00:54:50 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-12-21 00:54:50 +0000 |
commit | d740ac2e3a513d77d2cd8bfe21bb56780bb220c7 (patch) | |
tree | 0863fe4fd0106c201ebbf1650e0ae65e16b968a5 /usr.sbin/relayd/relayd.h | |
parent | 8fd969363d2c6e4c3e6fdb91e0d18d40d07601ce (diff) |
Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.
*Do* pull it in when in_{port,addr}_h is needed and <netinet/in.h> isn't.
ok reyk@
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r-- | usr.sbin/relayd/relayd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index cd894508000..ab2b534fab4 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.200 2014/12/18 20:55:01 reyk Exp $ */ +/* $OpenBSD: relayd.h,v 1.201 2014/12/21 00:54:49 guenther Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -24,6 +24,7 @@ #include <sys/tree.h> #include <sys/param.h> /* MAXHOSTNAMELEN */ +#include <netinet/in.h> #include <limits.h> #include <imsg.h> #include <siphash.h> |