Source-Changes-HG archive

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

[src/netbsd-6]: src/usr.sbin/installboot/arch Fix compile error (requested by...



details:   https://anonhg.NetBSD.org/src/rev/ef9ec30c6652
branches:  netbsd-6
changeset: 776367:ef9ec30c6652
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jun 17 02:05:19 2013 +0000

description:
Fix compile error (requested by martin in ticket #865):
        usr.sbin/installboot/arch/vax.c rev. 1.16-1.17

Don't include host's disklabel.h.

diffstat:

 usr.sbin/installboot/arch/vax.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9cbd3bb4aa90 -r ef9ec30c6652 usr.sbin/installboot/arch/vax.c
--- a/usr.sbin/installboot/arch/vax.c   Fri Jun 14 05:08:53 2013 +0000
+++ b/usr.sbin/installboot/arch/vax.c   Mon Jun 17 02:05:19 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vax.c,v 1.13.8.1 2013/04/20 09:58:23 bouyer Exp $      */
+/*     $NetBSD: vax.c,v 1.13.8.2 2013/06/17 02:05:19 msaitoh Exp $     */
 
 /*-
  * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -68,11 +68,15 @@
 
 #include <sys/cdefs.h>
 #if !defined(__lint)
-__RCSID("$NetBSD: vax.c,v 1.13.8.1 2013/04/20 09:58:23 bouyer Exp $");
+__RCSID("$NetBSD: vax.c,v 1.13.8.2 2013/06/17 02:05:19 msaitoh Exp $");
 #endif /* !__lint */
 
 #include <sys/param.h>
+#ifdef HAVE_NBTOOL_CONFIG_H
+#include <nbinclude/vax/disklabel.h>
+#else
 #include <sys/disklabel.h>
+#endif
 
 #include <assert.h>
 #include <err.h>



Home | Main Index | Thread Index | Old Index