diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-01-22 17:42:10 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-01-22 17:42:10 +0000 |
commit | dc1408e1d4913455188e3bdc0400f7185e47b804 (patch) | |
tree | 79d42cd584950392284b9557426083f5e2a9ec80 /usr.sbin/relayd/hce.c | |
parent | cafa5bb29acce74dab3a0eeac84ff06ff6db2734 (diff) |
Clean up the relayd headers with help of include-what-you-use and some
manual review. Based on common practice, relayd.h now includes the
necessary headers for itself.
OK benno@
Diffstat (limited to 'usr.sbin/relayd/hce.c')
-rw-r--r-- | usr.sbin/relayd/hce.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/usr.sbin/relayd/hce.c b/usr.sbin/relayd/hce.c index 70748dd8a17..f7fc77cc144 100644 --- a/usr.sbin/relayd/hce.c +++ b/usr.sbin/relayd/hce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hce.c,v 1.68 2015/01/16 15:06:40 deraadt Exp $ */ +/* $OpenBSD: hce.c,v 1.69 2015/01/22 17:42:09 reyk Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -16,26 +16,16 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> #include <sys/queue.h> #include <sys/time.h> -#include <sys/stat.h> -#include <sys/socket.h> -#include <sys/un.h> +#include <sys/uio.h> -#include <net/if.h> -#include <netinet/in.h> -#include <netinet/ip.h> - -#include <errno.h> #include <event.h> -#include <fcntl.h> #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <err.h> -#include <pwd.h> - -#include <openssl/ssl.h> +#include <imsg.h> #include "relayd.h" |