Module Name:    src
Committed By:   joerg
Date:           Wed Nov 12 15:08:52 UTC 2014

Modified Files:
        src/tools/compat: nl_types.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tools/compat/nl_types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/compat/nl_types.h
diff -u src/tools/compat/nl_types.h:1.2 src/tools/compat/nl_types.h:1.3
--- src/tools/compat/nl_types.h:1.2	Thu Feb 27 01:07:52 2014
+++ src/tools/compat/nl_types.h	Wed Nov 12 15:08:52 2014
@@ -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 <nl_types.h>
 #endif

Reply via email to