Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/string add <stdio.h>



details:   https://anonhg.NetBSD.org/src/rev/755d8f316837
branches:  trunk
changeset: 820500:755d8f316837
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 20:35:49 2017 +0000

description:
add <stdio.h>

diffstat:

 tests/lib/libc/string/t_strerror.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 644cec53922d -r 755d8f316837 tests/lib/libc/string/t_strerror.c
--- a/tests/lib/libc/string/t_strerror.c        Tue Jan 10 20:32:27 2017 +0000
+++ b/tests/lib/libc/string/t_strerror.c        Tue Jan 10 20:35:49 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strerror.c,v 1.3 2011/05/10 06:55:27 jruoho Exp $ */
+/* $NetBSD: t_strerror.c,v 1.4 2017/01/10 20:35:49 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,10 +29,11 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_strerror.c,v 1.3 2011/05/10 06:55:27 jruoho Exp $");
+__RCSID("$NetBSD: t_strerror.c,v 1.4 2017/01/10 20:35:49 christos Exp $");
 
 #include <atf-c.h>
 #include <errno.h>
+#include <stdio.h>     /* Needed for sys_nerr on FreeBSD */
 #include <limits.h>
 #include <locale.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index