Module Name: src Committed By: roy Date: Thu Feb 4 12:25:08 UTC 2010
Modified Files: src/lib/libterminfo: genhash hash.c Log Message: Allow hash to be build on other hosts. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libterminfo/genhash cvs rdiff -u -r1.2 -r1.3 src/lib/libterminfo/hash.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libterminfo/genhash diff -u src/lib/libterminfo/genhash:1.4 src/lib/libterminfo/genhash:1.5 --- src/lib/libterminfo/genhash:1.4 Thu Feb 4 09:46:26 2010 +++ src/lib/libterminfo/genhash Thu Feb 4 12:25:08 2010 @@ -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> Index: src/lib/libterminfo/hash.c diff -u src/lib/libterminfo/hash.c:1.2 src/lib/libterminfo/hash.c:1.3 --- src/lib/libterminfo/hash.c:1.2 Thu Feb 4 09:46:26 2010 +++ src/lib/libterminfo/hash.c Thu Feb 4 12:25:08 2010 @@ -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>