Module Name: src Committed By: lneto Date: Sun Nov 30 19:00:46 UTC 2014
Modified Files: src/external/mit/lua/dist/src: luaconf.h Log Message: lua(4): fixed Lua stack size To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 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.10 --- 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 Sun Nov 30 19:00:46 2014 @@ -1,7 +1,7 @@ -/* $NetBSD: luaconf.h,v 1.9 2014/07/19 18:38:34 lneto Exp $ */ +/* $NetBSD: luaconf.h,v 1.10 2014/11/30 19:00:46 lneto Exp $ */ /* -** $Id: luaconf.h,v 1.9 2014/07/19 18:38:34 lneto Exp $ +** $Id: luaconf.h,v 1.10 2014/11/30 19:00:46 lneto 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