aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-06 16:37:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-06 16:37:42 -0300
commit8ce6f0b4189955dc462824444b67717e36c17344 (patch)
treeff4f4825f791e900a265ed5cd1021f5872a48080
parent572bddc0b004880644846c37181e68744e52af7c (diff)
downloadlua-8ce6f0b4189955dc462824444b67717e36c17344.tar.gz
lua-8ce6f0b4189955dc462824444b67717e36c17344.tar.bz2
lua-8ce6f0b4189955dc462824444b67717e36c17344.zip
avoid including system headers after program headers
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 1a3054f8..c100f6d3 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,11 +1,12 @@
1/* 1/*
2** $Id: lvm.c,v 1.278 2003/02/27 12:33:07 roberto Exp roberto $ 2** $Id: lvm.c,v 1.279 2003/02/28 19:45:15 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>
9#include <stdlib.h> 10#include <stdlib.h>
10#include <string.h> 11#include <string.h>
11 12
@@ -29,7 +30,6 @@
29 30
30/* function to convert a lua_Number to a string */ 31/* function to convert a lua_Number to a string */
31#ifndef lua_number2str 32#ifndef lua_number2str
32#include <stdio.h>
33#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n)) 33#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
34#endif 34#endif
35 35