summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/config.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-12-21 00:54:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-12-21 00:54:50 +0000
commitd740ac2e3a513d77d2cd8bfe21bb56780bb220c7 (patch)
tree0863fe4fd0106c201ebbf1650e0ae65e16b968a5 /usr.sbin/httpd/config.c
parent8fd969363d2c6e4c3e6fdb91e0d18d40d07601ce (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/httpd/config.c')
-rw-r--r--usr.sbin/httpd/config.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/httpd/config.c b/usr.sbin/httpd/config.c
index b35d3de4e3a..d651a02239d 100644
--- a/usr.sbin/httpd/config.c
+++ b/usr.sbin/httpd/config.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -25,8 +25,6 @@
#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>