aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lobject.c b/lobject.c
index a3cc619f..60d1f3d9 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.100 2014/11/21 12:15:57 roberto Exp roberto $ 2** $Id: lobject.c,v 2.101 2014/12/26 14:43:45 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -10,6 +10,7 @@
10#include "lprefix.h" 10#include "lprefix.h"
11 11
12 12
13#include <math.h>
13#include <stdarg.h> 14#include <stdarg.h>
14#include <stdio.h> 15#include <stdio.h>
15#include <stdlib.h> 16#include <stdlib.h>
@@ -174,8 +175,6 @@ static int isneg (const char **s) {
174*/ 175*/
175#if !defined(lua_strx2number) 176#if !defined(lua_strx2number)
176 177
177#include <math.h>
178
179/* maximum number of significant digits to read (to avoid overflows 178/* maximum number of significant digits to read (to avoid overflows
180 even with single floats) */ 179 even with single floats) */
181#define MAXSIGDIG 30 180#define MAXSIGDIG 30