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/relayctl/relayctl.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/relayctl/relayctl.c')
-rw-r--r-- | usr.sbin/relayctl/relayctl.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/usr.sbin/relayctl/relayctl.c b/usr.sbin/relayctl/relayctl.c index e42dc5ec671..defc498a231 100644 --- a/usr.sbin/relayctl/relayctl.c +++ b/usr.sbin/relayctl/relayctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relayctl.c,v 1.52 2015/01/16 06:40:20 deraadt Exp $ */ +/* $OpenBSD: relayctl.c,v 1.53 2015/01/22 17:42:09 reyk Exp $ */ /* * Copyright (c) 2007 - 2013 Reyk Floeter <reyk@openbsd.org> @@ -22,25 +22,21 @@ #include <sys/types.h> #include <sys/socket.h> +#include <sys/time.h> #include <sys/queue.h> #include <sys/un.h> -#include <net/if.h> -#include <net/if_media.h> -#include <net/if_types.h> -#include <netinet/in.h> #include <arpa/inet.h> +#include <stdio.h> +#include <stdlib.h> #include <err.h> #include <errno.h> #include <limits.h> -#include <stdio.h> -#include <stdlib.h> #include <string.h> #include <unistd.h> -#include <event.h> - -#include <openssl/ssl.h> +#include <time.h> +#include <imsg.h> #include "relayd.h" #include "parser.h" |