Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp explicitly include <string.h> since OpenSSL-1.1 ...



details:   https://anonhg.NetBSD.org/src/rev/fd8ea6728d49
branches:  trunk
changeset: 359299:fd8ea6728d49
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 06 19:26:02 2018 +0000

description:
explicitly include <string.h> since OpenSSL-1.1 does not do it for us.

diffstat:

 usr.bin/ftp/ssl.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 7a902b24803e -r fd8ea6728d49 usr.bin/ftp/ssl.c
--- a/usr.bin/ftp/ssl.c Tue Feb 06 17:58:19 2018 +0000
+++ b/usr.bin/ftp/ssl.c Tue Feb 06 19:26:02 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ssl.c,v 1.5 2015/09/16 15:32:53 joerg Exp $    */
+/*     $NetBSD: ssl.c,v 1.6 2018/02/06 19:26:02 christos Exp $ */
 
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
@@ -34,11 +34,12 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ssl.c,v 1.5 2015/09/16 15:32:53 joerg Exp $");
+__RCSID("$NetBSD: ssl.c,v 1.6 2018/02/06 19:26:02 christos Exp $");
 #endif
 
 #include <time.h>
 #include <unistd.h>
+#include <string.h>
 #include <fcntl.h>
 
 #include <sys/param.h>



Home | Main Index | Thread Index | Old Index