Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/mkubootimage nbtool.h'ify; fixes cross-compilation.



details:   https://anonhg.NetBSD.org/src/rev/8f398204eb27
branches:  trunk
changeset: 755807:8f398204eb27
user:      dogcow <dogcow%NetBSD.org@localhost>
date:      Tue Jun 22 14:54:11 2010 +0000

description:
nbtool.h'ify; fixes cross-compilation.

diffstat:

 usr.bin/mkubootimage/crc32.c        |  8 ++++++--
 usr.bin/mkubootimage/mkubootimage.c |  8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 2d334fa5ffcd -r 8f398204eb27 usr.bin/mkubootimage/crc32.c
--- a/usr.bin/mkubootimage/crc32.c      Tue Jun 22 12:42:21 2010 +0000
+++ b/usr.bin/mkubootimage/crc32.c      Tue Jun 22 14:54:11 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crc32.c,v 1.1 2010/06/18 18:55:48 jmcneill Exp $ */
+/* $NetBSD: crc32.c,v 1.2 2010/06/22 14:54:11 dogcow Exp $ */
 
 /*-
  * Copyright (c) 2002 Marcel Moolenaar
@@ -28,8 +28,12 @@
  * CRC32 code derived from work by Gary S. Brown.
  */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: crc32.c,v 1.1 2010/06/18 18:55:48 jmcneill Exp $");
+__RCSID("$NetBSD: crc32.c,v 1.2 2010/06/22 14:54:11 dogcow Exp $");
 
 #include <sys/types.h>
 #include <stdint.h>
diff -r 2d334fa5ffcd -r 8f398204eb27 usr.bin/mkubootimage/mkubootimage.c
--- a/usr.bin/mkubootimage/mkubootimage.c       Tue Jun 22 12:42:21 2010 +0000
+++ b/usr.bin/mkubootimage/mkubootimage.c       Tue Jun 22 14:54:11 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkubootimage.c,v 1.1 2010/06/18 18:55:48 jmcneill Exp $ */
+/* $NetBSD: mkubootimage.c,v 1.2 2010/06/22 14:54:11 dogcow Exp $ */
 
 /*-
  * Copyright (c) 2010 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -25,8 +25,12 @@
  * SUCH DAMAGE.
  */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: mkubootimage.c,v 1.1 2010/06/18 18:55:48 jmcneill Exp $");
+__RCSID("$NetBSD: mkubootimage.c,v 1.2 2010/06/22 14:54:11 dogcow Exp $");
 
 #include <sys/mman.h>
 #include <sys/stat.h>



Home | Main Index | Thread Index | Old Index