summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-20 11:21:45 +0000
committer[email protected] <[email protected]>2012-11-20 11:21:45 +0000
commit3968445d4a1ceece9cce84bd18ba56eeeb166a90 (patch)
treef5f272caa442ee01968d17e92eb6542a7def64c2 /components
parentc9e327d9c41a44dec21d5e2930cf0c212946972a (diff)
exclude sys/type.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2428 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/external/lua/lua/ldump.c1
-rw-r--r--components/external/lua/lua/luaconf.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/components/external/lua/lua/ldump.c b/components/external/lua/lua/ldump.c
index 79309403ec..939ebe04bb 100644
--- a/components/external/lua/lua/ldump.c
+++ b/components/external/lua/lua/ldump.c
@@ -5,7 +5,6 @@
*/
#include <stddef.h>
-#include <sys/types.h>
#include <string.h>
#define ldump_c
diff --git a/components/external/lua/lua/luaconf.h b/components/external/lua/lua/luaconf.h
index eaf444fbbe..03bbfc3abe 100644
--- a/components/external/lua/lua/luaconf.h
+++ b/components/external/lua/lua/luaconf.h
@@ -894,11 +894,6 @@ union luai_Cast { double l_d; long l_l; };
** without modifying the main part of the file.
*/
-#if !defined(LUA_CROSS_COMPILER)
-typedef short int16_t;
-typedef long int32_t;
-#endif
-
/* If you define the next macro you'll get the ability to set rotables as
metatables for tables/userdata/types (but the VM might run slower)
*/