From 1aa0f42f65bd25228eb6a6534d8ca2965421c030 Mon Sep 17 00:00:00 2001 From: Kinichiro Inoguchi Date: Wed, 9 Jan 2019 12:58:19 +0000 Subject: Include strings.h for bzero in usr.bin/nc bzero is defined in strings.h. ok deraadt@ --- usr.bin/nc/netcat.c | 3 ++- usr.bin/nc/socks.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c index adfad2dcd91..10f5a50def6 100644 --- a/usr.bin/nc/netcat.c +++ b/usr.bin/nc/netcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netcat.c,v 1.200 2018/12/27 17:22:45 tedu Exp $ */ +/* $OpenBSD: netcat.c,v 1.201 2019/01/09 12:58:18 inoguchi Exp $ */ /* * Copyright (c) 2001 Eric Jackson * Copyright (c) 2015 Bob Beck. All rights reserved. @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include diff --git a/usr.bin/nc/socks.c b/usr.bin/nc/socks.c index 5aa191d2840..2855f18536d 100644 --- a/usr.bin/nc/socks.c +++ b/usr.bin/nc/socks.c @@ -1,4 +1,4 @@ -/* $OpenBSD: socks.c,v 1.25 2018/03/27 16:31:10 deraadt Exp $ */ +/* $OpenBSD: socks.c,v 1.26 2019/01/09 12:58:18 inoguchi Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist. All rights reserved. @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3