diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-01-05 11:48:33 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-01-05 11:48:33 -0200 |
commit | 3317f5c6d9f3c8370430bb8b412b7f7a65b797b2 (patch) | |
tree | be94c4a4d7ab5179cb2a796a286008d9dab3053d /linit.c | |
parent | dbf911c516acc51770f99f362e59cd32b621b3b8 (diff) | |
download | lua-3317f5c6d9f3c8370430bb8b412b7f7a65b797b2.tar.gz lua-3317f5c6d9f3c8370430bb8b412b7f7a65b797b2.tar.bz2 lua-3317f5c6d9f3c8370430bb8b412b7f7a65b797b2.zip |
includes 'stddef.h' (as it uses NULL)
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" |