NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/51814: [PATCH] tests/lib/libc/string/t_strerror: add missing #include for strerror(3)
The following reply was made to PR bin/51814; it has been noted by GNATS.
From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/51814: [PATCH] tests/lib/libc/string/t_strerror: add missing
#include for strerror(3)
Date: Tue, 10 Jan 2017 02:51:10 -0800
--Apple-Mail=_967DC634-67CF-4F3A-8202-FE9DC6FDE3BA
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
Patch attached.
--Apple-Mail=_967DC634-67CF-4F3A-8202-FE9DC6FDE3BA
Content-Disposition: attachment;
filename=t_strerror-add-missing-stdio-h-header.patch
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="t_strerror-add-missing-stdio-h-header.patch"
Content-Transfer-Encoding: 7bit
Index: t_strerror.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/string/t_strerror.c,v
retrieving revision 1.3
diff -u -p -r1.3 t_strerror.c
--- t_strerror.c 10 May 2011 06:55:27 -0000 1.3
+++ t_strerror.c 10 Jan 2017 10:38:30 -0000
@@ -35,6 +35,7 @@ __RCSID("$NetBSD: t_strerror.c,v 1.3 201
#include <errno.h>
#include <limits.h>
#include <locale.h>
+#include <stdio.h>
#include <string.h>
ATF_TC(strerror_basic);
--Apple-Mail=_967DC634-67CF-4F3A-8202-FE9DC6FDE3BA--
Home |
Main Index |
Thread Index |
Old Index