Source-Changes-HG archive

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

[src/trunk]: src/bin/sh need errno for the debug build.



details:   https://anonhg.NetBSD.org/src/rev/a4fa57f40e8e
branches:  trunk
changeset: 755377:a4fa57f40e8e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 03 16:14:13 2010 +0000

description:
need errno for the debug build.

diffstat:

 bin/sh/eval.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8e6c01c926b2 -r a4fa57f40e8e bin/sh/eval.c
--- a/bin/sh/eval.c     Thu Jun 03 16:06:48 2010 +0000
+++ b/bin/sh/eval.c     Thu Jun 03 16:14:13 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eval.c,v 1.99 2010/06/03 16:06:48 christos Exp $       */
+/*     $NetBSD: eval.c,v 1.100 2010/06/03 16:14:13 christos Exp $      */
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)eval.c     8.9 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: eval.c,v 1.99 2010/06/03 16:06:48 christos Exp $");
+__RCSID("$NetBSD: eval.c,v 1.100 2010/06/03 16:14:13 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -45,6 +45,7 @@
 #include <stdlib.h>
 #include <signal.h>
 #include <stdio.h>
+#include <errno.h>
 #include <unistd.h>
 #include <sys/fcntl.h>
 #include <sys/times.h>



Home | Main Index | Thread Index | Old Index