diff options
| author | inoguchi <> | 2019-01-09 12:58:18 +0000 |
|---|---|---|
| committer | inoguchi <> | 2019-01-09 12:58:18 +0000 |
| commit | be7aa7380fd412c91bd7c0c0177d203244b15ce2 (patch) | |
| tree | 069a627715a53e6af66a0ac4bcf980093b64cfeb /src/usr.bin/nc/netcat.c | |
| parent | a249152e32c62f141c760a4266cfa3eadbb58d90 (diff) | |
| download | openbsd-be7aa7380fd412c91bd7c0c0177d203244b15ce2.tar.gz openbsd-be7aa7380fd412c91bd7c0c0177d203244b15ce2.tar.bz2 openbsd-be7aa7380fd412c91bd7c0c0177d203244b15ce2.zip | |
Include strings.h for bzero in usr.bin/nc
bzero is defined in strings.h.
ok deraadt@
Diffstat (limited to 'src/usr.bin/nc/netcat.c')
| -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 adfad2dcd9..10f5a50def 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.200 2018/12/27 17:22:45 tedu Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.201 2019/01/09 12:58:18 inoguchi Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
| 4 | * Copyright (c) 2015 Bob Beck. All rights reserved. | 4 | * Copyright (c) 2015 Bob Beck. All rights reserved. |
| @@ -53,6 +53,7 @@ | |||
| 53 | #include <stdio.h> | 53 | #include <stdio.h> |
| 54 | #include <stdlib.h> | 54 | #include <stdlib.h> |
| 55 | #include <string.h> | 55 | #include <string.h> |
| 56 | #include <strings.h> | ||
| 56 | #include <time.h> | 57 | #include <time.h> |
| 57 | #include <tls.h> | 58 | #include <tls.h> |
| 58 | #include <unistd.h> | 59 | #include <unistd.h> |
