Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat To build elftosb with clang++, it needs more th...



details:   https://anonhg.NetBSD.org/src/rev/880b7b573518
branches:  trunk
changeset: 327084:880b7b573518
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Feb 27 01:07:52 2014 +0000

description:
To build elftosb with clang++, it needs more than nl_types.h provides.
XXX to workaround with, if compiling on __NetBSD__ just include the real
nl_types.h

diffstat:

 tools/compat/nl_types.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (11 lines):

diff -r 7f08095434de -r 880b7b573518 tools/compat/nl_types.h
--- a/tools/compat/nl_types.h   Thu Feb 27 00:59:50 2014 +0000
+++ b/tools/compat/nl_types.h   Thu Feb 27 01:07:52 2014 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: nl_types.h,v 1.1 2002/01/29 10:20:32 tv Exp $  */
+/*     $NetBSD: nl_types.h,v 1.2 2014/02/27 01:07:52 matt Exp $        */
 
-#ifdef _NLS_PRIVATE
+#if defined(_NLS_PRIVATE) || defined(__NetBSD__)
 #include "../../include/nl_types.h"
 #endif



Home | Main Index | Thread Index | Old Index