summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay_http.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/relay_http.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/relay_http.c')
-rw-r--r--usr.sbin/relayd/relay_http.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c
index 7ab81b28d4c..1d0b3220475 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.42 2015/01/22 15:21:28 reyk Exp $ */
+/* $OpenBSD: relay_http.c,v 1.43 2015/01/22 17:42:09 reyk Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -19,28 +19,22 @@
#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/tree.h>
-#include <net/if.h>
#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <netinet/tcp.h>
+#include <arpa/inet.h>
-#include <errno.h>
-#include <fcntl.h>
+#include <limits.h>
+#include <stdio.h>
#include <stdlib.h>
+#include <errno.h>
#include <string.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <err.h>
-#include <pwd.h>
+#include <time.h>
#include <event.h>
#include <fnmatch.h>
-
-#include <openssl/ssl.h>
+#include <siphash.h>
+#include <imsg.h>
#include "relayd.h"
#include "http.h"