Module Name: src
Committed By: matt
Date: Thu Feb 27 01:07:52 UTC 2014
Modified Files:
src/tools/compat: nl_types.h
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 src/tools/compat/nl_types.h:1.2
--- src/tools/compat/nl_types.h:1.1 Tue Jan 29 10:20:32 2002
+++ src/tools/compat/nl_types.h Thu Feb 27 01:07:52 2014
@@ -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