Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/installboot/arch Need <string.h> for memcmp().



details:   https://anonhg.NetBSD.org/src/rev/cc0cb3dae3d2
branches:  trunk
changeset: 525260:cc0cb3dae3d2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Apr 09 02:06:29 2002 +0000

description:
Need <string.h> for memcmp().

diffstat:

 usr.sbin/installboot/arch/pmax.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d367b7b6aa94 -r cc0cb3dae3d2 usr.sbin/installboot/arch/pmax.c
--- a/usr.sbin/installboot/arch/pmax.c  Tue Apr 09 01:57:34 2002 +0000
+++ b/usr.sbin/installboot/arch/pmax.c  Tue Apr 09 02:06:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmax.c,v 1.1 2002/04/03 09:09:04 lukem Exp $   */
+/*     $NetBSD: pmax.c,v 1.2 2002/04/09 02:06:29 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: pmax.c,v 1.1 2002/04/03 09:09:04 lukem Exp $");
+__RCSID("$NetBSD: pmax.c,v 1.2 2002/04/09 02:06:29 thorpej Exp $");
 #endif /* !__lint */
 
 #include <sys/param.h>
@@ -112,6 +112,7 @@
 #include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 #include <sys/exec_elf.h>



Home | Main Index | Thread Index | Old Index