summaryrefslogtreecommitdiffstats
path: root/usr.sbin/relayd/relay_http.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-09-27 20:21:04 +0000
committerderaadt <deraadt@openbsd.org>2015-09-27 20:21:04 +0000
commit0c16a86c6fe36b68d793724b18be1729a5868e50 (patch)
tree7e768de37b69683b96ee3d4e47ab7559eb633d62 /usr.sbin/relayd/relay_http.c
parentUse readdisksector() instead of manual buf initialization. These are (diff)
downloadwireguard-openbsd-0c16a86c6fe36b68d793724b18be1729a5868e50.tar.xz
wireguard-openbsd-0c16a86c6fe36b68d793724b18be1729a5868e50.zip
include <unistd.h> unconditionally
ok benno
Diffstat (limited to 'usr.sbin/relayd/relay_http.c')
-rw-r--r--usr.sbin/relayd/relay_http.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c
index 3c6aa05b790..20c3bf2ed7d 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.52 2015/07/28 10:24:26 reyk Exp $ */
+/* $OpenBSD: relay_http.c,v 1.53 2015/09/27 20:21:04 deraadt Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -35,9 +35,7 @@
#include <fnmatch.h>
#include <siphash.h>
#include <imsg.h>
-#if DEBUG > 1
#include <unistd.h>
-#endif
#include "relayd.h"
#include "http.h"