added include to stdarg.h (as it uses vararg facilities)

This commit is contained in:
Roberto Ierusalimschy 2004-02-20 13:01:05 -03:00
parent 1edea34666
commit 898e8a6794
3 changed files with 10 additions and 3 deletions

3
lapi.c
View File

@ -1,11 +1,12 @@
/* /*
** $Id: lapi.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ ** $Id: lapi.c,v 2.2 2004/01/15 12:40:26 roberto Exp roberto $
** Lua API ** Lua API
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
#include <assert.h> #include <assert.h>
#include <stdarg.h>
#include <string.h> #include <string.h>
#define lapi_c #define lapi_c

View File

@ -1,13 +1,15 @@
/* /*
** $Id: ldebug.c,v 1.157 2003/10/20 18:42:28 roberto Exp roberto $ ** $Id: ldebug.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $
** Debug Interface ** Debug Interface
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
#include <stdarg.h>
#include <stddef.h> #include <stddef.h>
#include <string.h> #include <string.h>
#define ldebug_c #define ldebug_c
#include "lua.h" #include "lua.h"

View File

@ -1,13 +1,17 @@
/* /*
** $Id: lobject.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ ** $Id: lobject.h,v 2.2 2004/02/16 19:09:52 roberto Exp roberto $
** Type definitions for Lua objects ** Type definitions for Lua objects
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
#ifndef lobject_h #ifndef lobject_h
#define lobject_h #define lobject_h
#include <stdarg.h>
#include "llimits.h" #include "llimits.h"
#include "lua.h" #include "lua.h"