diff options
-rw-r--r-- | lua.c | 5 | ||||
-rw-r--r-- | lvm.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.115 2003/01/29 10:27:07 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.116 2003/01/29 13:23:45 roberto Exp roberto $ |
3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -26,6 +26,9 @@ | |||
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | 28 | ||
29 | /* | ||
30 | ** definition of `isatty' | ||
31 | */ | ||
29 | #ifdef _POSIX_C_SOURCE | 32 | #ifdef _POSIX_C_SOURCE |
30 | #include <unistd.h> | 33 | #include <unistd.h> |
31 | #else | 34 | #else |
@@ -1,15 +1,17 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.279 2003/02/28 19:45:15 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.280 2003/03/06 19:37:42 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
6 | 6 | ||
7 | 7 | ||
8 | #include <stdarg.h> | 8 | #include <stdarg.h> |
9 | #include <stdio.h> | ||
10 | #include <stdlib.h> | 9 | #include <stdlib.h> |
11 | #include <string.h> | 10 | #include <string.h> |
12 | 11 | ||
12 | /* needed only when `lua_number2str' uses `sprintf' */ | ||
13 | #include <stdio.h> | ||
14 | |||
13 | #define lvm_c | 15 | #define lvm_c |
14 | 16 | ||
15 | #include "lua.h" | 17 | #include "lua.h" |