avoid including system headers after program headers

This commit is contained in:
Roberto Ierusalimschy 2003-03-06 16:37:42 -03:00
parent 572bddc0b0
commit 8ce6f0b418
1 changed files with 2 additions and 2 deletions

4
lvm.c
View File

@ -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