Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys PR/51851: Ngie Cooper: add stdbool.h #inc...



details:   https://anonhg.NetBSD.org/src/rev/bb82d573fc51
branches:  trunk
changeset: 350559:bb82d573fc51
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 20:31:53 2017 +0000

description:
PR/51851: Ngie Cooper: add stdbool.h #include for false/true

diffstat:

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

diffs (26 lines):

diff -r 109a9c17a897 -r bb82d573fc51 tests/lib/libc/sys/t_dup.c
--- a/tests/lib/libc/sys/t_dup.c        Fri Jan 13 20:31:06 2017 +0000
+++ b/tests/lib/libc/sys/t_dup.c        Fri Jan 13 20:31:53 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_dup.c,v 1.8 2012/03/18 07:00:51 jruoho Exp $ */
+/* $NetBSD: t_dup.c,v 1.9 2017/01/13 20:31:53 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_dup.c,v 1.8 2012/03/18 07:00:51 jruoho Exp $");
+__RCSID("$NetBSD: t_dup.c,v 1.9 2017/01/13 20:31:53 christos Exp $");
 
 #include <sys/resource.h>
 #include <sys/stat.h>
@@ -39,6 +39,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index