summaryrefslogtreecommitdiff
path: root/usr.bin/nc/netcat.c
diff options
context:
space:
mode:
authorKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2019-01-09 12:58:19 +0000
committerKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2019-01-09 12:58:19 +0000
commit1aa0f42f65bd25228eb6a6534d8ca2965421c030 (patch)
treeb0493a9d17c40e6efefa3121135a318730fe1b97 /usr.bin/nc/netcat.c
parentfa9cd69900b76b464b1d013b72e9bb0bfc0f61fe (diff)
Include strings.h for bzero in usr.bin/nc
bzero is defined in strings.h. ok deraadt@
Diffstat (limited to 'usr.bin/nc/netcat.c')
-rw-r--r--usr.bin/nc/netcat.c3
1 files changed, 2 insertions, 1 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 <ericj@monkey.org>
* Copyright (c) 2015 Bob Beck. All rights reserved.
@@ -53,6 +53,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <time.h>
#include <tls.h>
#include <unistd.h>