Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/pkg_install/lib Add <sys/wait.h> so that we have a ...



details:   https://anonhg.NetBSD.org/src/rev/fee227892ed2
branches:  trunk
changeset: 552312:fee227892ed2
user:      agc <agc%NetBSD.org@localhost>
date:      Tue Sep 23 14:18:01 2003 +0000

description:
Add <sys/wait.h> so that we have a prototype for waitpid(3).

diffstat:

 usr.sbin/pkg_install/lib/file.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c3ee96a5c695 -r fee227892ed2 usr.sbin/pkg_install/lib/file.c
--- a/usr.sbin/pkg_install/lib/file.c   Tue Sep 23 14:15:59 2003 +0000
+++ b/usr.sbin/pkg_install/lib/file.c   Tue Sep 23 14:18:01 2003 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: file.c,v 1.64 2003/09/23 09:36:06 wiz Exp $    */
+/*     $NetBSD: file.c,v 1.65 2003/09/23 14:18:01 agc Exp $    */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
 #else
-__RCSID("$NetBSD: file.c,v 1.64 2003/09/23 09:36:06 wiz Exp $");
+__RCSID("$NetBSD: file.c,v 1.65 2003/09/23 14:18:01 agc Exp $");
 #endif
 #endif
 
@@ -31,6 +31,8 @@
 
 #include "lib.h"
 
+#include <sys/wait.h>
+
 #include <assert.h>
 #include <err.h>
 #include <netdb.h>



Home | Main Index | Thread Index | Old Index