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/socks.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/socks.c')
-rw-r--r-- | src/usr.bin/nc/socks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr.bin/nc/socks.c b/src/usr.bin/nc/socks.c index 5aa191d284..2855f18536 100644 --- a/src/usr.bin/nc/socks.c +++ b/src/usr.bin/nc/socks.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: socks.c,v 1.25 2018/03/27 16:31:10 deraadt Exp $ */ | 1 | /* $OpenBSD: socks.c,v 1.26 2019/01/09 12:58:18 inoguchi Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999 Niklas Hallqvist. All rights reserved. | 4 | * Copyright (c) 1999 Niklas Hallqvist. All rights reserved. |
@@ -36,6 +36,7 @@ | |||
36 | #include <stdio.h> | 36 | #include <stdio.h> |
37 | #include <stdlib.h> | 37 | #include <stdlib.h> |
38 | #include <string.h> | 38 | #include <string.h> |
39 | #include <strings.h> | ||
39 | #include <unistd.h> | 40 | #include <unistd.h> |
40 | #include <resolv.h> | 41 | #include <resolv.h> |
41 | #include <readpassphrase.h> | 42 | #include <readpassphrase.h> |