Source-Changes-HG archive

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

[src/trunk]: src/tools/compat Fix build of tools/lex on platforms lacking sys...



details:   https://anonhg.NetBSD.org/src/rev/e706b35bc1ee
branches:  trunk
changeset: 321320:e706b35bc1ee
user:      hans <hans%NetBSD.org@localhost>
date:      Sun Mar 11 10:14:04 2018 +0000

description:
Fix build of tools/lex on platforms lacking sys/cdefs.h by including
nbtool_config.h in tools/compat/regex.h. Tested on illumos.

diffstat:

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

diffs (9 lines):

diff -r 68ab5564a991 -r e706b35bc1ee tools/compat/regex.h
--- a/tools/compat/regex.h      Sun Mar 11 09:56:44 2018 +0000
+++ b/tools/compat/regex.h      Sun Mar 11 10:14:04 2018 +0000
@@ -1,3 +1,4 @@
-/*     $NetBSD: regex.h,v 1.3 2016/03/06 10:22:59 aymeric Exp $ */
+/*     $NetBSD: regex.h,v 1.4 2018/03/11 10:14:04 hans Exp $ */
 
+#include "nbtool_config.h"
 #include "../../include/regex.h"



Home | Main Index | Thread Index | Old Index