Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.
authorguenther <guenther@openbsd.org>
Sun, 21 Dec 2014 00:54:49 +0000 (00:54 +0000)
committerguenther <guenther@openbsd.org>
Sun, 21 Dec 2014 00:54:49 +0000 (00:54 +0000)
commit395002a2ec6c1c63e9fd9e7a5e045c08e52c3499
treec8ab37a00e9687408cfaaf75b9fce8d169f3d8e4
parent8d454a834862155c237f8b7ea9cfe5a63661978d
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@
23 files changed:
usr.sbin/httpd/config.c
usr.sbin/httpd/control.c
usr.sbin/httpd/log.c
usr.sbin/httpd/logger.c
usr.sbin/httpd/parse.y
usr.sbin/httpd/proc.c
usr.sbin/httpd/server.c
usr.sbin/httpd/server_fcgi.c
usr.sbin/httpd/server_file.c
usr.sbin/httpd/server_http.c
usr.sbin/relayd/agentx.c
usr.sbin/relayd/check_icmp.c
usr.sbin/relayd/config.c
usr.sbin/relayd/log.c
usr.sbin/relayd/parse.y
usr.sbin/relayd/pfe_route.c
usr.sbin/relayd/proc.c
usr.sbin/relayd/relay.c
usr.sbin/relayd/relay_http.c
usr.sbin/relayd/relay_udp.c
usr.sbin/relayd/relayd.h
usr.sbin/relayd/shuffle.c
usr.sbin/relayd/snmp.c