Source-Changes-HG archive

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

[src/trunk]: src/bin/echo Put a few headers back so this compiles again.



details:   https://anonhg.NetBSD.org/src/rev/79b0f8fe71c2
branches:  trunk
changeset: 555682:79b0f8fe71c2
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Nov 25 03:40:18 2003 +0000

description:
Put a few headers back so this compiles again.
Compile problems noticed by Dan Carosone.

diffstat:

 bin/echo/echo.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 611862119dc2 -r 79b0f8fe71c2 bin/echo/echo.c
--- a/bin/echo/echo.c   Mon Nov 24 23:54:13 2003 +0000
+++ b/bin/echo/echo.c   Tue Nov 25 03:40:18 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: echo.c,v 1.14 2003/11/24 22:47:02 jschauma Exp $   */
+/* $NetBSD: echo.c,v 1.15 2003/11/25 03:40:18 simonb Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -40,11 +40,13 @@
 #if 0
 static char sccsid[] = "@(#)echo.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: echo.c,v 1.14 2003/11/24 22:47:02 jschauma Exp $");
+__RCSID("$NetBSD: echo.c,v 1.15 2003/11/25 03:40:18 simonb Exp $");
 #endif
 #endif /* not lint */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 int main(int, char *[]);
 



Home | Main Index | Thread Index | Old Index