lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 8ce6f0b4189955dc462824444b67717e36c17344
parent 572bddc0b004880644846c37181e68744e52af7c
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Thu,  6 Mar 2003 16:37:20 -0300

avoid including system headers after program headers

Diffstat:
Mlvm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lvm.c b/lvm.c @@ -1,11 +1,12 @@ /* -** $Id: lvm.c,v 1.278 2003/02/27 12:33:07 roberto Exp roberto $ +** $Id: lvm.c,v 1.279 2003/02/28 19:45:15 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ #include <stdarg.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> @@ -29,7 +30,6 @@ /* function to convert a lua_Number to a string */ #ifndef lua_number2str -#include <stdio.h> #define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n)) #endif