summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/check_icmp.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-01-22 17:42:10 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-01-22 17:42:10 +0000
commitdc1408e1d4913455188e3bdc0400f7185e47b804 (patch)
tree79d42cd584950392284b9557426083f5e2a9ec80 /usr.sbin/relayd/check_icmp.c
parentcafa5bb29acce74dab3a0eeac84ff06ff6db2734 (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/check_icmp.c')
-rw-r--r--usr.sbin/relayd/check_icmp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/relayd/check_icmp.c b/usr.sbin/relayd/check_icmp.c
index 3fefb8ad469..d6f5ffb7ba0 100644
--- a/usr.sbin/relayd/check_icmp.c
+++ b/usr.sbin/relayd/check_icmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: check_icmp.c,v 1.39 2015/01/16 15:06:40 deraadt Exp $ */
+/* $OpenBSD: check_icmp.c,v 1.40 2015/01/22 17:42:09 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -20,22 +20,20 @@
#include <sys/queue.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
-#include <net/if.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
#include <netinet/icmp6.h>
+#include <arpa/inet.h>
-#include <limits.h>
#include <event.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
-#include <openssl/ssl.h>
-
#include "relayd.h"
void icmp_setup(struct relayd *, struct ctl_icmp_event *, int);