summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-12-31 21:22:43 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-12-31 21:22:43 +0000
commit72bc7ae677c0c13cc45512ec2a960a2c71227142 (patch)
tree9dc1ba99b1a1de62a9ce29ab8705704de3ed1d36 /usr.sbin/relayd
parente3fad9cd3eac21ca5d192e61a7453fc9a00f1937 (diff)
Add missing #includes instead of assuming that some system header pulls in
the needed bits ok deraadt@, millert@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relayd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index bb8616b4cbd..e0cec631e45 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.139 2010/11/30 14:38:45 reyk Exp $ */
+/* $OpenBSD: relayd.h,v 1.140 2010/12/31 21:22:42 guenther Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -20,6 +20,8 @@
#include <sys/tree.h>
+#include <sys/param.h> /* MAXHOSTNAMELEN */
+#include <limits.h>
#include <imsg.h>
#define CONF_FILE "/etc/relayd.conf"