*Do* pull it in when in_{port,addr}_h is needed and <netinet/in.h> isn't.
ok reyk@
-/* $OpenBSD: config.c,v 1.25 2014/12/12 14:45:59 reyk Exp $ */
+/* $OpenBSD: config.c,v 1.26 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2011 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <net/if.h>
#include <net/pfvar.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <arpa/nameser.h>
#include <net/route.h>
#include <ctype.h>
-/* $OpenBSD: control.c,v 1.4 2014/08/04 15:49:28 reyk Exp $ */
+/* $OpenBSD: control.c,v 1.5 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
#include <sys/un.h>
#include <net/if.h>
+#include <arpa/inet.h>
#include <errno.h>
#include <event.h>
-/* $OpenBSD: log.c,v 1.3 2014/10/25 03:23:49 lteo Exp $ */
+/* $OpenBSD: log.c,v 1.4 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/ip.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <stdarg.h>
-/* $OpenBSD: logger.c,v 1.7 2014/11/11 15:54:45 beck Exp $ */
+/* $OpenBSD: logger.c,v 1.8 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
#include <sys/uio.h>
#include <net/if.h>
+#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
-/* $OpenBSD: parse.y,v 1.45 2014/12/18 10:10:11 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.46 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <net/pfvar.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <arpa/nameser.h>
#include <net/route.h>
#include <ctype.h>
-/* $OpenBSD: proc.c,v 1.6 2014/12/16 03:35:49 millert Exp $ */
+/* $OpenBSD: proc.c,v 1.7 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2010 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/ip.h>
-#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
-/* $OpenBSD: server.c,v 1.48 2014/12/12 14:45:59 reyk Exp $ */
+/* $OpenBSD: server.c,v 1.49 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-/* $OpenBSD: server_fcgi.c,v 1.42 2014/12/12 14:45:59 reyk Exp $ */
+/* $OpenBSD: server_fcgi.c,v 1.43 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2014 Florian Obser <florian@openbsd.org>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-/* $OpenBSD: server_file.c,v 1.41 2014/12/12 14:45:59 reyk Exp $ */
+/* $OpenBSD: server_file.c,v 1.42 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-/* $OpenBSD: server_http.c,v 1.56 2014/12/08 19:31:27 florian Exp $ */
+/* $OpenBSD: server_http.c,v 1.57 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-/* $OpenBSD: agentx.c,v 1.8 2014/11/19 10:24:40 blambert Exp $ */
+/* $OpenBSD: agentx.c,v 1.9 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2013,2014 Bret Stephen Lambert <blambert@openbsd.org>
*
#include <sys/uio.h>
#include <sys/un.h>
-#include <arpa/inet.h>
-
#include <err.h>
#include <errno.h>
#include <stdlib.h>
-/* $OpenBSD: check_icmp.c,v 1.37 2014/10/25 03:23:49 lteo Exp $ */
+/* $OpenBSD: check_icmp.c,v 1.38 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
#include <netinet/icmp6.h>
-#include <arpa/inet.h>
#include <limits.h>
#include <event.h>
-/* $OpenBSD: config.c,v 1.21 2014/12/12 10:05:09 reyk Exp $ */
+/* $OpenBSD: config.c,v 1.22 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2011 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <net/if.h>
#include <net/pfvar.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <arpa/nameser.h>
#include <net/route.h>
#include <ctype.h>
-/* $OpenBSD: log.c,v 1.25 2014/12/12 10:05:09 reyk Exp $ */
+/* $OpenBSD: log.c,v 1.26 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/ip.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <stdarg.h>
-/* $OpenBSD: parse.y,v 1.197 2014/12/18 20:55:01 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.198 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <net/pfvar.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <arpa/nameser.h>
#include <net/route.h>
#include <ctype.h>
-/* $OpenBSD: pfe_route.c,v 1.6 2014/06/25 11:05:15 reyk Exp $ */
+/* $OpenBSD: pfe_route.c,v 1.7 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2009 - 2011 Reyk Floeter <reyk@openbsd.org>
#include <net/if.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
#include <net/route.h>
#include <stdio.h>
-/* $OpenBSD: proc.c,v 1.18 2014/12/16 03:35:49 millert Exp $ */
+/* $OpenBSD: proc.c,v 1.19 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2010 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/ip.h>
-#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
-/* $OpenBSD: relay.c,v 1.183 2014/12/18 20:55:01 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.184 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-/* $OpenBSD: relay_http.c,v 1.36 2014/12/18 20:55:01 reyk Exp $ */
+/* $OpenBSD: relay_http.c,v 1.37 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-/* $OpenBSD: relay_udp.c,v 1.36 2014/12/18 20:55:01 reyk Exp $ */
+/* $OpenBSD: relay_udp.c,v 1.37 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2007 - 2013 Reyk Floeter <reyk@openbsd.org>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-/* $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>
#include <sys/tree.h>
#include <sys/param.h> /* MAXHOSTNAMELEN */
+#include <netinet/in.h>
#include <limits.h>
#include <imsg.h>
#include <siphash.h>
-/* $OpenBSD: shuffle.c,v 1.2 2009/06/09 16:26:03 deraadt Exp $ */
+/* $OpenBSD: shuffle.c,v 1.3 2014/12/21 00:54:49 guenther Exp $ */
/*
* Portions Copyright (C) 2008 Theo de Raadt
#include <netinet/in.h>
#include <net/if.h>
-#include <arpa/inet.h>
#include <stdlib.h>
#include <string.h>
-/* $OpenBSD: snmp.c,v 1.20 2014/11/25 09:17:00 blambert Exp $ */
+/* $OpenBSD: snmp.c,v 1.21 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2008 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <netinet/in.h>
#include <net/if.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>