Module Name: src
Committed By: dogcow
Date: Tue Jun 22 14:54:11 UTC 2010
Modified Files:
src/usr.bin/mkubootimage: crc32.c mkubootimage.c
Log Message:
nbtool.h'ify; fixes cross-compilation.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/mkubootimage/crc32.c \
src/usr.bin/mkubootimage/mkubootimage.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/mkubootimage/crc32.c
diff -u src/usr.bin/mkubootimage/crc32.c:1.1 src/usr.bin/mkubootimage/crc32.c:1.2
--- src/usr.bin/mkubootimage/crc32.c:1.1 Fri Jun 18 18:55:48 2010
+++ src/usr.bin/mkubootimage/crc32.c Tue Jun 22 14:54:11 2010
@@ -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>
Index: src/usr.bin/mkubootimage/mkubootimage.c
diff -u src/usr.bin/mkubootimage/mkubootimage.c:1.1 src/usr.bin/mkubootimage/mkubootimage.c:1.2
--- src/usr.bin/mkubootimage/mkubootimage.c:1.1 Fri Jun 18 18:55:48 2010
+++ src/usr.bin/mkubootimage/mkubootimage.c Tue Jun 22 14:54:11 2010
@@ -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 <[email protected]>
@@ -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>