aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-07 10:21:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-07 10:21:31 -0300
commit7c3857cdeda673d011313501492a61efa1462d46 (patch)
tree7f86515e303e9eeb9c6d00fba6682fc15e299e2f
parent8ce6f0b4189955dc462824444b67717e36c17344 (diff)
downloadlua-7c3857cdeda673d011313501492a61efa1462d46.tar.gz
lua-7c3857cdeda673d011313501492a61efa1462d46.tar.bz2
lua-7c3857cdeda673d011313501492a61efa1462d46.zip
comments
-rw-r--r--lua.c5
-rw-r--r--lvm.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/lua.c b/lua.c
index c9e903e0..7a248bf8 100644
--- a/lua.c
+++ b/lua.c
@@ -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
diff --git a/lvm.c b/lvm.c
index c100f6d3..a096ff37 100644
--- a/lvm.c
+++ b/lvm.c
@@ -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"