If the internals are not explicitly requested, use #include_next to pick

up the system version. <locale> from libc++ requires this and is used by
src/tools/elftosb2.
This commit is contained in:
joerg 2014-11-12 15:08:52 +00:00
parent 9e2fae1cfa
commit 706f66c9f4
1 changed files with 4 additions and 2 deletions

View File

@ -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" #include "../../include/nl_types.h"
#elif defined(__GNUC__)
#include_next <nl_types.h>
#endif #endif