From fa2feddd77986bf54e0fd7573ee193f203ef8986 Mon Sep 17 00:00:00 2001 From: alnsn Date: Mon, 21 Jan 2019 00:07:10 +0000 Subject: [PATCH] Add #ifndef _KERNEL guard around userspace #includes --- sys/external/bsd/sljit/dist/sljit_src/sljitLir.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c b/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c index eb5ffc3ddbf9..1e223cf544fd 100644 --- a/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c +++ b/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c @@ -1,4 +1,4 @@ -/* $NetBSD: sljitLir.c,v 1.6 2019/01/20 23:14:16 alnsn Exp $ */ +/* $NetBSD: sljitLir.c,v 1.7 2019/01/21 00:07:10 alnsn Exp $ */ /* * Stack-less Just-In-Time compiler @@ -30,9 +30,11 @@ #if !(defined SLJIT_STD_MACROS_DEFINED && SLJIT_STD_MACROS_DEFINED) +#ifndef _KERNEL /* These libraries are needed for the macros below. */ #include #include +#endif #endif /* SLJIT_STD_MACROS_DEFINED */