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 Fix compilation when D...



details:   https://anonhg.NetBSD.org/src/rev/1a39c5644bc0
branches:  trunk
changeset: 781945:1a39c5644bc0
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Mon Oct 08 22:39:15 2012 +0000

description:
Fix compilation when DIAGNOSTIC is defined.

diffstat:

 sys/external/bsd/sljit/dist/sljit_src/sljitConfig.h         |  3 ---
 sys/external/bsd/sljit/dist/sljit_src/sljitConfigInternal.h |  4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 410a594c59bd -r 1a39c5644bc0 sys/external/bsd/sljit/dist/sljit_src/sljitConfig.h
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitConfig.h       Mon Oct 08 20:54:10 2012 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitConfig.h       Mon Oct 08 22:39:15 2012 +0000
@@ -87,9 +87,6 @@
 #ifdef _KERNEL
 #include <sys/cdefs.h>
 #include <sys/malloc.h>
-#ifdef SLJIT_DEBUG
-#include <sys/systm.h>
-#endif
 #endif
 
 /* --------------------------------------------------------------------- */
diff -r 410a594c59bd -r 1a39c5644bc0 sys/external/bsd/sljit/dist/sljit_src/sljitConfigInternal.h
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitConfigInternal.h       Mon Oct 08 20:54:10 2012 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitConfigInternal.h       Mon Oct 08 22:39:15 2012 +0000
@@ -380,8 +380,12 @@
 #endif
 
 #if (defined SLJIT_DEBUG && SLJIT_DEBUG) || (defined SLJIT_VERBOSE && SLJIT_VERBOSE)
+#ifdef _KERNEL
+#include <sys/systm.h>
+#else
 #include <stdio.h>
 #endif
+#endif
 
 #if (defined SLJIT_DEBUG && SLJIT_DEBUG)
 



Home | Main Index | Thread Index | Old Index