diff options
Diffstat (limited to 'linit.c')
-rw-r--r-- | linit.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: linit.c,v 1.36 2014/12/06 20:42:58 roberto Exp roberto $ | 2 | ** $Id: linit.c,v 1.37 2014/12/09 15:00:17 roberto Exp roberto $ |
3 | ** Initialization of libraries for lua.c and other clients | 3 | ** Initialization of libraries for lua.c and other clients |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -8,9 +8,6 @@ | |||
8 | #define linit_c | 8 | #define linit_c |
9 | #define LUA_LIB | 9 | #define LUA_LIB |
10 | 10 | ||
11 | #include "lprefix.h" | ||
12 | |||
13 | |||
14 | /* | 11 | /* |
15 | ** If you embed Lua in your program and need to open the standard | 12 | ** If you embed Lua in your program and need to open the standard |
16 | ** libraries, call luaL_openlibs in your program. If you need a | 13 | ** libraries, call luaL_openlibs in your program. If you need a |
@@ -27,6 +24,11 @@ | |||
27 | ** lua_pop(L, 1); // remove _PRELOAD table | 24 | ** lua_pop(L, 1); // remove _PRELOAD table |
28 | */ | 25 | */ |
29 | 26 | ||
27 | #include "lprefix.h" | ||
28 | |||
29 | |||
30 | #include <stddef.h> | ||
31 | |||
30 | #include "lua.h" | 32 | #include "lua.h" |
31 | 33 | ||
32 | #include "lualib.h" | 34 | #include "lualib.h" |