Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libterminfo compile.c needs sys/endian.h; PR 42875 from ...
details: https://anonhg.NetBSD.org/src/rev/e6a33307077d
branches: trunk
changeset: 752544:e6a33307077d
user: dholland <dholland%NetBSD.org@localhost>
date: Mon Mar 01 01:59:48 2010 +0000
description:
compile.c needs sys/endian.h; PR 42875 from Henning Petersen.
diffstat:
lib/libterminfo/compile.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r baa8d0b18a3d -r e6a33307077d lib/libterminfo/compile.c
--- a/lib/libterminfo/compile.c Mon Mar 01 01:35:11 2010 +0000
+++ b/lib/libterminfo/compile.c Mon Mar 01 01:59:48 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compile.c,v 1.2 2010/02/25 23:44:02 roy Exp $ */
+/* $NetBSD: compile.c,v 1.3 2010/03/01 01:59:48 dholland Exp $ */
/*
* Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -32,7 +32,11 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: compile.c,v 1.2 2010/02/25 23:44:02 roy Exp $");
+__RCSID("$NetBSD: compile.c,v 1.3 2010/03/01 01:59:48 dholland Exp $");
+
+#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
+#include <sys/endian.h>
+#endif
#include <assert.h>
#include <ctype.h>
Home |
Main Index |
Thread Index |
Old Index