summaryrefslogtreecommitdiff
path: root/src/linit.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2015-01-12 12:00:00 +0000
committerrepogen <>2015-01-12 12:00:00 +0000
commit34c362812ab38172d3da36404ec9a85f929579c5 (patch)
treea54637781398b630824152ae05672536c0fa8341 /src/linit.c
parent6b0dd2d3885d020d3154e0da84de92e9ee8b2c82 (diff)
downloadlua-github-5.3.0.tar.gz
Diffstat (limited to 'src/linit.c')
-rw-r--r--src/linit.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/linit.c b/src/linit.c
index ca9d100d..8ce94ccb 100644
--- a/src/linit.c
+++ b/src/linit.c
@@ -1,5 +1,5 @@
/*
-** $Id: linit.c,v 1.37 2014/12/09 15:00:17 roberto Exp $
+** $Id: linit.c,v 1.38 2015/01/05 13:48:33 roberto Exp $
** Initialization of libraries for lua.c and other clients
** See Copyright Notice in lua.h
*/
@@ -8,9 +8,6 @@
#define linit_c
#define LUA_LIB
-#include "lprefix.h"
-
-
/*
** If you embed Lua in your program and need to open the standard
** libraries, call luaL_openlibs in your program. If you need a
@@ -27,6 +24,11 @@
** lua_pop(L, 1); // remove _PRELOAD table
*/
+#include "lprefix.h"
+
+
+#include <stddef.h>
+
#include "lua.h"
#include "lualib.h"