svn commit: r273022 - head/contrib/netbsd-tests/lib/libc/string

Garrett Cooper ngie at FreeBSD.org
Mon Oct 13 02:29:59 UTC 2014


Author: ngie
Date: Mon Oct 13 02:29:58 2014
New Revision: 273022
URL: https://svnweb.freebsd.org/changeset/base/273022

Log:
  Add #include <stdio.h> to get sys_nerr definition
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/string/t_strerror.c

Modified: head/contrib/netbsd-tests/lib/libc/string/t_strerror.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/string/t_strerror.c	Mon Oct 13 02:27:59 2014	(r273021)
+++ head/contrib/netbsd-tests/lib/libc/string/t_strerror.c	Mon Oct 13 02:29:58 2014	(r273022)
@@ -37,6 +37,10 @@ __RCSID("$NetBSD: t_strerror.c,v 1.3 201
 #include <locale.h>
 #include <string.h>
 
+#if defined(__FreeBSD__)
+#include <stdio.h>
+#endif
+
 ATF_TC(strerror_basic);
 ATF_TC_HEAD(strerror_basic, tc)
 {


More information about the svn-src-head mailing list