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) { _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"