[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2.0 compile error
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 1 Nov 2014 12:07:53 -0200
> This bug[1] also breaks software using liblua on OSX10.4 (compiler is
> apple-gcc42 5666.3_14) - please can you fix it?
>
> [1]http://lua-users.org/lists/lua-l/2011-12/msg00707.html
In liolib.c, add this
#if defined(LUA_USE_POSIX)
#include <sys/types.h>
#endif
just after
#include "lualib.h"