Roberto Ierusalimschy 22 years ago
parent
commit
7c3857cded
2 changed files with 8 additions and 3 deletions
  1. 4 1
      lua.c
  2. 4 2
      lvm.c

+ 4 - 1
lua.c

@@ -1,5 +1,5 @@
 /*
-** $Id: lua.c,v 1.115 2003/01/29 10:27:07 roberto Exp roberto $
+** $Id: lua.c,v 1.116 2003/01/29 13:23:45 roberto Exp roberto $
 ** Lua stand-alone interpreter
 ** See Copyright Notice in lua.h
 */
@@ -26,6 +26,9 @@
 #endif
 
 
+/*
+** definition of `isatty'
+*/
 #ifdef _POSIX_C_SOURCE
 #include <unistd.h>
 #else

+ 4 - 2
lvm.c

@@ -1,15 +1,17 @@
 /*
-** $Id: lvm.c,v 1.279 2003/02/28 19:45:15 roberto Exp roberto $
+** $Id: lvm.c,v 1.280 2003/03/06 19:37:42 roberto Exp roberto $
 ** Lua virtual machine
 ** See Copyright Notice in lua.h
 */
 
 
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
+/* needed only when `lua_number2str' uses `sprintf' */
+#include <stdio.h>
+
 #define lvm_c
 
 #include "lua.h"