From 706f66c9f47f8202399aab88bddfef00095c1442 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 12 Nov 2014 15:08:52 +0000 Subject: [PATCH] If the internals are not explicitly requested, use #include_next to pick up the system version. from libc++ requires this and is used by src/tools/elftosb2. --- tools/compat/nl_types.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/compat/nl_types.h b/tools/compat/nl_types.h index 019b51e7ab28..98f9a6652189 100644 --- a/tools/compat/nl_types.h +++ b/tools/compat/nl_types.h @@ -1,5 +1,7 @@ -/* $NetBSD: nl_types.h,v 1.2 2014/02/27 01:07:52 matt Exp $ */ +/* $NetBSD: nl_types.h,v 1.3 2014/11/12 15:08:52 joerg Exp $ */ -#if defined(_NLS_PRIVATE) || defined(__NetBSD__) +#if defined(_NLS_PRIVATE) #include "../../include/nl_types.h" +#elif defined(__GNUC__) +#include_next #endif