From 5c7d0d1fb671da00486fdcf740af57084ff2e124 Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 1 Mar 2010 01:59:48 +0000 Subject: [PATCH] compile.c needs sys/endian.h; PR 42875 from Henning Petersen. --- lib/libterminfo/compile.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/libterminfo/compile.c b/lib/libterminfo/compile.c index 74c437974416..57fb72ccdf8d 100644 --- a/lib/libterminfo/compile.c +++ b/lib/libterminfo/compile.c @@ -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 -__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 +#endif #include #include