Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/sljit/dist/sljit_src Add #ifndef _KERNEL gu...
details: https://anonhg.NetBSD.org/src/rev/cfa73b5eb3a2
branches: trunk
changeset: 447669:cfa73b5eb3a2
user: alnsn <alnsn%NetBSD.org@localhost>
date: Mon Jan 21 00:07:10 2019 +0000
description:
Add #ifndef _KERNEL guard around userspace #includes
diffstat:
sys/external/bsd/sljit/dist/sljit_src/sljitLir.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 30f9ce44cbd8 -r cfa73b5eb3a2 sys/external/bsd/sljit/dist/sljit_src/sljitLir.c
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c Sun Jan 20 23:36:57 2019 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c Mon Jan 21 00:07:10 2019 +0000
@@ -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 <stdlib.h>
#include <string.h>
+#endif
#endif /* SLJIT_STD_MACROS_DEFINED */
Home |
Main Index |
Thread Index |
Old Index