diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-23 17:29:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-23 17:29:23 +0000 |
commit | 888d9410ad9654c61ca51425ca1c8430f4243c31 (patch) | |
tree | 6851954952469a0b8b90797f4f0c44c1bcbce15a /usr.sbin | |
parent | 9ddfa170a43b51701a0cc80ef3067472484d9603 (diff) |
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 6 | ||||
-rw-r--r-- | usr.sbin/tcpdump/addrtoname.c | 6 |
2 files changed, 6 insertions, 6 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> diff --git a/usr.sbin/tcpdump/addrtoname.c b/usr.sbin/tcpdump/addrtoname.c index 7c2abb0aa49..f5d3ccb52dd 100644 --- a/usr.sbin/tcpdump/addrtoname.c +++ b/usr.sbin/tcpdump/addrtoname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: addrtoname.c,v 1.26 2005/05/22 18:41:33 moritz Exp $ */ +/* $OpenBSD: addrtoname.c,v 1.27 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -25,10 +25,10 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/addrtoname.c,v 1.26 2005/05/22 18:41:33 moritz Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/addrtoname.c,v 1.27 2006/01/23 17:29:22 millert Exp $ (LBL)"; #endif -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <sys/time.h> |