Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/tic Since tic is a host tool, we need to include hos...



details:   https://anonhg.NetBSD.org/src/rev/616e4f361b7e
branches:  trunk
changeset: 752228:616e4f361b7e
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Feb 20 06:08:01 2010 +0000

description:
Since tic is a host tool, we need to include host system header to get
definitions of le16dec() and le16enc().

Solves PR bin/42747 from Henning Petersen

diffstat:

 usr.bin/tic/tic.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r f6255ff6e109 -r 616e4f361b7e usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Sat Feb 20 04:44:59 2010 +0000
+++ b/usr.bin/tic/tic.c Sat Feb 20 06:08:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.6 2010/02/11 13:09:57 roy Exp $ */
+/* $NetBSD: tic.c,v 1.7 2010/02/20 06:08:01 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -32,9 +32,10 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: tic.c,v 1.6 2010/02/11 13:09:57 roy Exp $");
+__RCSID("$NetBSD: tic.c,v 1.7 2010/02/20 06:08:01 pgoyette Exp $");
 
 #include <sys/types.h>
+#include <sys/endian.h>
 
 #include <ctype.h>
 #include <err.h>



Home | Main Index | Thread Index | Old Index