Module Name: src
Committed By: martin
Date: Mon Dec 1 13:11:18 UTC 2014
Modified Files:
src/external/mit/lua/dist/src [netbsd-7]: luaconf.h
Log Message:
Pull up following revision(s) (requested by lneto in ticket #282):
external/mit/lua/dist/src/luaconf.h: revision 1.10
lua(4): fixed Lua stack size
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.2.1 src/external/mit/lua/dist/src/luaconf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/lua/dist/src/luaconf.h
diff -u src/external/mit/lua/dist/src/luaconf.h:1.9 src/external/mit/lua/dist/src/luaconf.h:1.9.2.1
--- src/external/mit/lua/dist/src/luaconf.h:1.9 Sat Jul 19 18:38:34 2014
+++ src/external/mit/lua/dist/src/luaconf.h Mon Dec 1 13:11:18 2014
@@ -1,7 +1,7 @@
-/* $NetBSD: luaconf.h,v 1.9 2014/07/19 18:38:34 lneto Exp $ */
+/* $NetBSD: luaconf.h,v 1.9.2.1 2014/12/01 13:11:18 martin Exp $ */
/*
-** $Id: luaconf.h,v 1.9 2014/07/19 18:38:34 lneto Exp $
+** $Id: luaconf.h,v 1.9.2.1 2014/12/01 13:11:18 martin Exp $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -13,6 +13,10 @@
#ifndef _KERNEL
#include <limits.h>
#include <stddef.h>
+#else
+/* limits.h */
+#include <machine/limits.h>
+#include <sys/systm.h>
#endif
@@ -696,7 +700,6 @@
#ifndef _KERNEL
#include <stdint.h>
#else
-#include <sys/systm.h>
#undef LUA_NUMBER
#undef LUA_NUMBER_FMT
@@ -723,9 +726,6 @@
#define BUFSIZ (1024)
#define sprintf(s,fmt,...) snprintf(s, sizeof(s), fmt, __VA_ARGS__)
-/* limits.h */
-#include <machine/limits.h>
-
/* string.h */
#define strcoll strcmp