aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-02-20 13:01:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-02-20 13:01:05 -0300
commit898e8a67942186d62aa2cd3dc4ef96fe894788ef (patch)
tree8e5b90ed05b81f09fc54c85e7c00f6b03ebe5eb2
parent1edea3466632a397e5c4e955b3d5cb219f8456cc (diff)
downloadlua-898e8a67942186d62aa2cd3dc4ef96fe894788ef.tar.gz
lua-898e8a67942186d62aa2cd3dc4ef96fe894788ef.tar.bz2
lua-898e8a67942186d62aa2cd3dc4ef96fe894788ef.zip
added include to stdarg.h (as it uses vararg facilities)
-rw-r--r--lapi.c3
-rw-r--r--ldebug.c4
-rw-r--r--lobject.h6
3 files changed, 10 insertions, 3 deletions
diff --git a/lapi.c b/lapi.c
index 928a8afc..59129f71 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,11 +1,12 @@
1/* 1/*
2** $Id: lapi.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ 2** $Id: lapi.c,v 2.2 2004/01/15 12:40:26 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7 7
8#include <assert.h> 8#include <assert.h>
9#include <stdarg.h>
9#include <string.h> 10#include <string.h>
10 11
11#define lapi_c 12#define lapi_c
diff --git a/ldebug.c b/ldebug.c
index 114214d6..12552451 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,13 +1,15 @@
1/* 1/*
2** $Id: ldebug.c,v 1.157 2003/10/20 18:42:28 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
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 <stddef.h> 9#include <stddef.h>
9#include <string.h> 10#include <string.h>
10 11
12
11#define ldebug_c 13#define ldebug_c
12 14
13#include "lua.h" 15#include "lua.h"
diff --git a/lobject.h b/lobject.h
index 4cdb1701..f9968a09 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,13 +1,17 @@
1/* 1/*
2** $Id: lobject.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ 2** $Id: lobject.h,v 2.2 2004/02/16 19:09:52 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7
7#ifndef lobject_h 8#ifndef lobject_h
8#define lobject_h 9#define lobject_h
9 10
10 11
12#include <stdarg.h>
13
14
11#include "llimits.h" 15#include "llimits.h"
12#include "lua.h" 16#include "lua.h"
13 17