diff options
-rw-r--r-- | liolib.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.120 2014/03/19 18:57:42 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.121 2014/04/15 16:46:45 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -104,6 +104,8 @@ | |||
104 | 104 | ||
105 | #if defined(LUA_USE_POSIX) /* { */ | 105 | #if defined(LUA_USE_POSIX) /* { */ |
106 | 106 | ||
107 | #include <sys/types.h> | ||
108 | |||
107 | #define l_fseek(f,o,w) fseeko(f,o,w) | 109 | #define l_fseek(f,o,w) fseeko(f,o,w) |
108 | #define l_ftell(f) ftello(f) | 110 | #define l_ftell(f) ftello(f) |
109 | #define l_seeknum off_t | 111 | #define l_seeknum off_t |