From 626124d2d8ae582c3444a9e0e11b09f31dc098ff Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 11 May 2014 11:46:19 -0300 Subject: [PATCH] old POSIX systems need '' for 'off_t' --- liolib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/liolib.c b/liolib.c index 6ce0ad43..41fa8555 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 2.120 2014/03/19 18:57:42 roberto Exp roberto $ +** $Id: liolib.c,v 2.121 2014/04/15 16:46:45 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -104,6 +104,8 @@ #if defined(LUA_USE_POSIX) /* { */ +#include + #define l_fseek(f,o,w) fseeko(f,o,w) #define l_ftell(f) ftello(f) #define l_seeknum off_t