mirror of https://github.com/lua/lua
avoid including system headers after program headers
This commit is contained in:
parent
572bddc0b0
commit
8ce6f0b418
4
lvm.c
4
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
|
** Lua virtual machine
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -29,7 +30,6 @@
|
||||||
|
|
||||||
/* function to convert a lua_Number to a string */
|
/* function to convert a lua_Number to a string */
|
||||||
#ifndef lua_number2str
|
#ifndef lua_number2str
|
||||||
#include <stdio.h>
|
|
||||||
#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
|
#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue