Date: Mon, 13 Oct 2014 02:29:59 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273022 - head/contrib/netbsd-tests/lib/libc/string Message-ID: <201410130229.s9D2TxkQ033870@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410130229.s9D2TxkQ033870>