diff options
author | millert <> | 2006-01-20 00:01:20 +0000 |
---|---|---|
committer | millert <> | 2006-01-20 00:01:20 +0000 |
commit | f9006c0d860615bd798c2a8b553ba592ec3b4524 (patch) | |
tree | eb8cbbafa57d5c3d13468b13ed806aaf0d7da4e6 /src | |
parent | 2ee49adefdcc2a150dd4fb9aa501b060168228e6 (diff) | |
download | openbsd-f9006c0d860615bd798c2a8b553ba592ec3b4524.tar.gz openbsd-f9006c0d860615bd798c2a8b553ba592ec3b4524.tar.bz2 openbsd-f9006c0d860615bd798c2a8b553ba592ec3b4524.zip |
Explicitly include limits.h if we are going to use its contents.
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.bin/nc/netcat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index c0cb262336..a10a8954c5 100644 --- a/src/usr.bin/nc/netcat.c +++ b/src/usr.bin/nc/netcat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: netcat.c,v 1.84 2005/10/25 06:51:37 dtucker Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.85 2006/01/20 00:01:20 millert Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
4 | * | 4 | * |
@@ -52,6 +52,7 @@ | |||
52 | #include <string.h> | 52 | #include <string.h> |
53 | #include <unistd.h> | 53 | #include <unistd.h> |
54 | #include <fcntl.h> | 54 | #include <fcntl.h> |
55 | #include <limits.h> | ||
55 | #include "atomicio.h" | 56 | #include "atomicio.h" |
56 | 57 | ||
57 | #ifndef SUN_LEN | 58 | #ifndef SUN_LEN |