summaryrefslogtreecommitdiff
path: root/usr.sbin/rarpd/rarpd.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-23 17:29:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-23 17:29:23 +0000
commit888d9410ad9654c61ca51425ca1c8430f4243c31 (patch)
tree6851954952469a0b8b90797f4f0c44c1bcbce15a /usr.sbin/rarpd/rarpd.c
parent9ddfa170a43b51701a0cc80ef3067472484d9603 (diff)
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'usr.sbin/rarpd/rarpd.c')
-rw-r--r--usr.sbin/rarpd/rarpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c
index d093f8bd193..9b9015be016 100644
--- a/usr.sbin/rarpd/rarpd.c
+++ b/usr.sbin/rarpd/rarpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rarpd.c,v 1.45 2005/12/21 01:40:24 millert Exp $ */
+/* $OpenBSD: rarpd.c,v 1.46 2006/01/23 17:29:22 millert Exp $ */
/* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */
/*
@@ -28,7 +28,7 @@ char copyright[] =
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$OpenBSD: rarpd.c,v 1.45 2005/12/21 01:40:24 millert Exp $";
+static char rcsid[] = "$OpenBSD: rarpd.c,v 1.46 2006/01/23 17:29:22 millert Exp $";
#endif
@@ -44,7 +44,7 @@ static char rcsid[] = "$OpenBSD: rarpd.c,v 1.45 2005/12/21 01:40:24 millert Exp
#include <syslog.h>
#include <string.h>
#include <stdarg.h>
-#include <sys/types.h>
+#include <sys/param.h>
#include <unistd.h>
#include <sys/time.h>
#include <net/bpf.h>