NetBSD-Bugs archive

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

bin/42747: Header missing in tic.c



>Number:         42747
>Category:       bin
>Synopsis:       Header missing in tic.c
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 05 07:50:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Cross compile on FreeBSD is not possible,while header for funtions le16dec and 
le16enc are missing.
>How-To-Repeat:

>Fix:
diff -u -r1.1 tic.c
--- usr.bin/tic/tic.c   3 Feb 2010 15:16:32 -0000       1.1
+++ usr.bin/tic/tic.c   5 Feb 2010 07:34:08 -0000
@@ -35,6 +35,7 @@
 __RCSID("$NetBSD: tic.c,v 1.1 2010/02/03 15:16:32 roy Exp $");
 
 #include <sys/types.h>
+#include <sys/endian.h>
 
 #include <ctype.h>
 #include <err.h>



Home | Main Index | Thread Index | Old Index