Module Name:    src
Committed By:   pgoyette
Date:           Sat Feb 20 06:08:01 UTC 2010

Modified Files:
        src/usr.bin/tic: tic.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/usr.bin/tic/tic.c:1.7
--- src/usr.bin/tic/tic.c:1.6	Thu Feb 11 13:09:57 2010
+++ src/usr.bin/tic/tic.c	Sat Feb 20 06:08:01 2010
@@ -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>

Reply via email to