Module Name: src Committed By: joerg Date: Sat Dec 8 21:04:27 UTC 2012
Modified Files: src/usr.bin/tic: tic.c Log Message: Use util.h only in the native case. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/tic/tic.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/tic/tic.c diff -u src/usr.bin/tic/tic.c:1.21 src/usr.bin/tic/tic.c:1.22 --- src/usr.bin/tic/tic.c:1.21 Thu Nov 29 23:01:16 2012 +++ src/usr.bin/tic/tic.c Sat Dec 8 21:04:27 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: tic.c,v 1.21 2012/11/29 23:01:16 mbalmer Exp $ */ +/* $NetBSD: tic.c,v 1.22 2012/12/08 21:04:27 joerg Exp $ */ /* * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #endif #include <sys/cdefs.h> -__RCSID("$NetBSD: tic.c,v 1.21 2012/11/29 23:01:16 mbalmer Exp $"); +__RCSID("$NetBSD: tic.c,v 1.22 2012/12/08 21:04:27 joerg Exp $"); #include <sys/types.h> #include <sys/queue.h> @@ -40,6 +40,9 @@ __RCSID("$NetBSD: tic.c,v 1.21 2012/11/2 #if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H #include <sys/endian.h> #endif +#if !HAVE_NBTOOL_CONFIG_H +#include <util.h> +#endif #include <cdbw.h> #include <ctype.h> @@ -55,7 +58,6 @@ __RCSID("$NetBSD: tic.c,v 1.21 2012/11/2 #include <string.h> #include <term_private.h> #include <term.h> -#include <util.h> #define HASH_SIZE 16384 /* 2012-06-01: 3600 entries */