diff options
author | guenther <guenther@openbsd.org> | 2014-12-21 00:54:49 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2014-12-21 00:54:49 +0000 |
commit | 395002a2ec6c1c63e9fd9e7a5e045c08e52c3499 (patch) | |
tree | c8ab37a00e9687408cfaaf75b9fce8d169f3d8e4 /usr.sbin/relayd/relay_http.c | |
parent | Show the sign for NaN as per POSIX; from Elliott Hughes. (diff) | |
download | wireguard-openbsd-395002a2ec6c1c63e9fd9e7a5e045c08e52c3499.tar.xz wireguard-openbsd-395002a2ec6c1c63e9fd9e7a5e045c08e52c3499.zip |
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/relay_http.c')
-rw-r--r-- | usr.sbin/relayd/relay_http.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c index 82820ccf420..6622c34be64 100644 --- a/usr.sbin/relayd/relay_http.c +++ b/usr.sbin/relayd/relay_http.c @@ -1,4 +1,4 @@ -/* $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> @@ -28,7 +28,6 @@ #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/tcp.h> -#include <arpa/inet.h> #include <errno.h> #include <fcntl.h> |