diff options
author | inoguchi <> | 2019-01-09 12:58:18 +0000 |
---|---|---|
committer | inoguchi <> | 2019-01-09 12:58:18 +0000 |
commit | 387ee612b4875f4548b64da3172c09277a87bd66 (patch) | |
tree | 069a627715a53e6af66a0ac4bcf980093b64cfeb /src/usr.bin/nc/netcat.c | |
parent | 82958711ca2c8dbd836bb5e9dce3efb3b9e0df3c (diff) | |
download | openbsd-387ee612b4875f4548b64da3172c09277a87bd66.tar.gz openbsd-387ee612b4875f4548b64da3172c09277a87bd66.tar.bz2 openbsd-387ee612b4875f4548b64da3172c09277a87bd66.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> |