diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-20 00:01:21 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-20 00:01:21 +0000 |
commit | 4dc96c35706c2c732d895e3e923d831412141909 (patch) | |
tree | 6f3b961cbb727844fd1896d0ec029ee81d67b1ed /usr.bin/rpcinfo/rpcinfo.c | |
parent | bb9bc5f38e905964c1510cb74dcd43bbb8c821f4 (diff) |
Explicitly include limits.h if we are going to use its contents.
Diffstat (limited to 'usr.bin/rpcinfo/rpcinfo.c')
-rw-r--r-- | usr.bin/rpcinfo/rpcinfo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/rpcinfo/rpcinfo.c b/usr.bin/rpcinfo/rpcinfo.c index c5d4e1c0939..b60bfa19ba8 100644 --- a/usr.bin/rpcinfo/rpcinfo.c +++ b/usr.bin/rpcinfo/rpcinfo.c @@ -1,9 +1,9 @@ -/* $OpenBSD: rpcinfo.c,v 1.10 2005/09/22 20:52:55 deraadt Exp $ */ +/* $OpenBSD: rpcinfo.c,v 1.11 2006/01/20 00:01:20 millert Exp $ */ #ifndef lint /*static char sccsid[] = "from: @(#)rpcinfo.c 1.22 87/08/12 SMI";*/ /*static char sccsid[] = "from: @(#)rpcinfo.c 2.2 88/08/11 4.0 RPCSRC";*/ -static char rcsid[] = "$OpenBSD: rpcinfo.c,v 1.10 2005/09/22 20:52:55 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rpcinfo.c,v 1.11 2006/01/20 00:01:20 millert Exp $"; #endif /* @@ -56,6 +56,7 @@ static char rcsid[] = "$OpenBSD: rpcinfo.c,v 1.10 2005/09/22 20:52:55 deraadt Ex #include <unistd.h> #include <ctype.h> #include <errno.h> +#include <limits.h> #include <arpa/inet.h> #define MAXHOSTLEN 256 |