Source-Changes-HG archive

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

[src/trunk]: src/lib/libterminfo Allow hash to be build on other hosts.



details:   https://anonhg.NetBSD.org/src/rev/45134c64b797
branches:  trunk
changeset: 751447:45134c64b797
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Feb 04 12:25:08 2010 +0000

description:
Allow hash to be build on other hosts.

diffstat:

 lib/libterminfo/genhash |  8 ++++++--
 lib/libterminfo/hash.c  |  8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 2a2fe1f3888c -r 45134c64b797 lib/libterminfo/genhash
--- a/lib/libterminfo/genhash   Thu Feb 04 10:27:08 2010 +0000
+++ b/lib/libterminfo/genhash   Thu Feb 04 12:25:08 2010 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: genhash,v 1.4 2010/02/04 09:46:26 roy Exp $
+# $NetBSD: genhash,v 1.5 2010/02/04 12:25:08 roy Exp $
 
 # Copyright (c) 2009 The NetBSD Foundation, Inc.
 #
@@ -87,8 +87,12 @@
 /* DO NOT EDIT
  * Automatically generated from term.h */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
-__RCSID("\$NetBSD: genhash,v 1.4 2010/02/04 09:46:26 roy Exp $");
+__RCSID("\$NetBSD: genhash,v 1.5 2010/02/04 12:25:08 roy Exp $");
 
 #include <stdint.h>
 #include <stdlib.h>
diff -r 2a2fe1f3888c -r 45134c64b797 lib/libterminfo/hash.c
--- a/lib/libterminfo/hash.c    Thu Feb 04 10:27:08 2010 +0000
+++ b/lib/libterminfo/hash.c    Thu Feb 04 12:25:08 2010 +0000
@@ -1,9 +1,13 @@
-/* $NetBSD: hash.c,v 1.2 2010/02/04 09:46:26 roy Exp $ */
+/* $NetBSD: hash.c,v 1.3 2010/02/04 12:25:08 roy Exp $ */
 /* DO NOT EDIT
  * Automatically generated from term.h */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hash.c,v 1.2 2010/02/04 09:46:26 roy Exp $");
+__RCSID("$NetBSD: hash.c,v 1.3 2010/02/04 12:25:08 roy Exp $");
 
 #include <stdint.h>
 #include <stdlib.h>



Home | Main Index | Thread Index | Old Index